mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-24 00:00:14 +02:00
Fix reference in Take docs (#383)
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@ use core::cmp;
|
|||||||
/// A `Buf` adapter which limits the bytes read from an underlying buffer.
|
/// A `Buf` adapter which limits the bytes read from an underlying buffer.
|
||||||
///
|
///
|
||||||
/// This struct is generally created by calling `take()` on `Buf`. See
|
/// This struct is generally created by calling `take()` on `Buf`. See
|
||||||
/// documentation of [`take()`](trait.Buf.html#method.take) for more details.
|
/// documentation of [`take()`](trait.BufExt.html#method.take) for more details.
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct Take<T> {
|
pub struct Take<T> {
|
||||||
inner: T,
|
inner: T,
|
||||||
|
|||||||
Reference in New Issue
Block a user