diff --git a/src/spsc.rs b/src/spsc.rs index 4a341aae..fd308f08 100644 --- a/src/spsc.rs +++ b/src/spsc.rs @@ -306,7 +306,7 @@ where for s in self.iter() { unsafe { - // NOTE(unsafe) new.capacity() == self.capacity() <= self.len() + // NOTE(unsafe) new.capacity() == self.capacity() >= self.len() // no overflow possible new.enqueue_unchecked(s.clone()); }