Skip to content

Commit 12a9ced

Browse files
sfacklerpickfire
andauthored
Update text/0000-read-buf.md
Co-authored-by: Ivan Tham <[email protected]>
1 parent a8bce0c commit 12a9ced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-read-buf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ impl Read for TcpStream {
215215
fn read_buf(&mut self, buf: &mut ReadBuf<'_>) -> io::Result<()> {
216216
unsafe {
217217
// Get access to the filled part of the buffer, without initializing it. This method is unsafe; we are
218-
// responsible for ensuing that we don't "de-initialize" portions of it that have previously been
218+
// responsible for ensuring that we don't "de-initialize" portions of it that have previously been
219219
// initialized.
220220
let unfilled: &mut [MaybeUninit<u8>] = buf.unfilled_mut();
221221

0 commit comments

Comments
 (0)