Fix reference in Take docs (#383)

This commit is contained in:
Kirill Fomichev
2020-05-22 14:33:06 +09:00
committed by GitHub
parent 1fbf83816b
commit 08ec01d1e7
+1 -1
View File
@@ -5,7 +5,7 @@ use core::cmp;
/// A `Buf` adapter which limits the bytes read from an underlying buffer.
///
/// 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)]
pub struct Take<T> {
inner: T,