Skip to content

Commit

Permalink
nit(docs): Fix typo in Buf::chunk() comment
Browse files Browse the repository at this point in the history
This fixes a small grammar issue in the documentation.
  • Loading branch information
cratelyn authored Nov 1, 2024
1 parent 30ee8e9 commit 728735b
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 728735b

Please sign in to comment.