Fix typo in Buf::chunk() comment (#744)

This commit is contained in:
katelyn martin
2024-11-01 14:46:09 +00:00
committed by GitHub
parent 30ee8e9cba
commit 2d996a2b41
+2 -2
View File
@@ -125,8 +125,8 @@ pub trait Buf {
fn remaining(&self) -> usize; fn remaining(&self) -> usize;
/// Returns a slice starting at the current position and of length between 0 /// 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 /// and `Buf::remaining()`. Note that this *can* return a shorter slice (this
/// non-continuous internal representation). /// allows non-continuous internal representation).
/// ///
/// This is a lower level function. Most operations are done with other /// This is a lower level function. Most operations are done with other
/// functions. /// functions.