We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4269dff commit 2691f34Copy full SHA for 2691f34
src/lib.rs
@@ -481,7 +481,7 @@ impl<A: Array> SmallVec<A> {
481
/// Construct an empty vector
482
#[inline]
483
pub fn new() -> SmallVec<A> {
484
- // Try to detect invalid custom implementations of `Array`. Hopefuly,
+ // Try to detect invalid custom implementations of `Array`. Hopefully,
485
// this check should be optimized away entirely for valid ones.
486
assert!(
487
mem::size_of::<A>() == A::size() * mem::size_of::<A::Item>()
0 commit comments