Skip to content

Commit 2d996a2

Browse files
authored
Fix typo in Buf::chunk() comment (#744)
1 parent 30ee8e9 commit 2d996a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/buf/buf_impl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ pub trait Buf {
125125
fn remaining(&self) -> usize;
126126

127127
/// Returns a slice starting at the current position and of length between 0
128-
/// and `Buf::remaining()`. Note that this *can* return shorter slice (this allows
129-
/// non-continuous internal representation).
128+
/// and `Buf::remaining()`. Note that this *can* return a shorter slice (this
129+
/// allows non-continuous internal representation).
130130
///
131131
/// This is a lower level function. Most operations are done with other
132132
/// functions.

0 commit comments

Comments
 (0)