mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-07 00:00:13 +02:00
Fix typo in Buf::chunk() comment (#744)
This commit is contained in:
+2
-2
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user