Skip to content

Commit dac3f14

Browse files
committed
BorrowedBuf docs: Update docs for is_init with new semantics.
1 parent 411d617 commit dac3f14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/core/src/io/borrowed_buf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ impl<'data> BorrowedBuf<'data> {
9292
self.filled
9393
}
9494

95-
/// Returns the length of the initialized part of the buffer.
95+
/// Returns `true` if the buffer is initialized.
9696
#[unstable(feature = "borrowed_buf_init", issue = "78485")]
9797
#[inline]
9898
pub fn is_init(&self) -> bool {

0 commit comments

Comments
 (0)