correct typo
Co-authored-by: Josh Triplett <josh@joshtriplett.org>
This commit is contained in:
parent
ac82056dad
commit
cd23799ba5
@ -136,7 +136,7 @@ pub fn initialize_unfilled_to(&mut self, n: usize) -> &mut [u8] {
|
||||
assert!(self.remaining() >= n);
|
||||
|
||||
let extra_init = self.initialized - self.filled;
|
||||
// If we dont have enough initialized, do zeroing
|
||||
// If we don't have enough initialized, do zeroing
|
||||
if n > extra_init {
|
||||
let uninit = n - extra_init;
|
||||
let unfilled = &mut self.uninitialized_mut()[0..uninit];
|
||||
|
Loading…
Reference in New Issue
Block a user