Skip to content

Commit 2691f34

Browse files
mgr-inz-rafalemilio
authored andcommitted
Fix typo
1 parent 4269dff commit 2691f34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ impl<A: Array> SmallVec<A> {
481481
/// Construct an empty vector
482482
#[inline]
483483
pub fn new() -> SmallVec<A> {
484-
// Try to detect invalid custom implementations of `Array`. Hopefuly,
484+
// Try to detect invalid custom implementations of `Array`. Hopefully,
485485
// this check should be optimized away entirely for valid ones.
486486
assert!(
487487
mem::size_of::<A>() == A::size() * mem::size_of::<A::Item>()

0 commit comments

Comments
 (0)