Skip to content

Commit

Permalink
Fix typo in Buf::chunk() comment (#744)
Browse files Browse the repository at this point in the history
  • Loading branch information
cratelyn authored Nov 1, 2024
1 parent 30ee8e9 commit 2d996a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/buf/buf_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ pub trait Buf {
fn remaining(&self) -> usize;

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

0 comments on commit 2d996a2

Please sign in to comment.