Skip to content

Commit cd23799

Browse files
correct typo
Co-authored-by: Josh Triplett <[email protected]>
1 parent ac82056 commit cd23799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/std/src/io/readbuf.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl<'a> ReadBuf<'a> {
136136
assert!(self.remaining() >= n);
137137

138138
let extra_init = self.initialized - self.filled;
139-
// If we dont have enough initialized, do zeroing
139+
// If we don't have enough initialized, do zeroing
140140
if n > extra_init {
141141
let uninit = n - extra_init;
142142
let unfilled = &mut self.uninitialized_mut()[0..uninit];

0 commit comments

Comments
 (0)