Skip to content

Commit bd67506

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/io/readbuf.rs

Lines changed: 1 addition & 1 deletion
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)