Skip to content

Commit fc7c10d

Browse files
Update text/0000-read-buf.md
Co-authored-by: Harry Sarson <[email protected]>
1 parent 9d56b91 commit fc7c10d

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
@@ -349,7 +349,7 @@ impl<'a> ReadBuf<'a> {
349349
///
350350
/// Panics if the filled region of the buffer would become larger than the intialized region.
351351
#[inline]
352-
pub fn set_written(&mut self, n: usize) { ... }
352+
pub fn set_filled(&mut self, n: usize) { ... }
353353

354354
/// Asserts that the first `n` unfilled bytes of the buffer are initialized.
355355
///

0 commit comments

Comments
 (0)