aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Christopher Bunn <mypetyak@users.noreply.github.com> 2021-01-19 21:39:23 -0800
committerGravatar GitHub <noreply@github.com> 2021-01-20 14:39:23 +0900
commit8daf43e9bde134e32fc0b8938abc92695f6850d1 (patch)
treeaaf0f4ac93273ff37311329bf9e87686f3df13e4
parent7b18c1c076adf9dff4dca28ffc1bbd8759860798 (diff)
downloadbytes-8daf43e9bde134e32fc0b8938abc92695f6850d1.tar.gz
bytes-8daf43e9bde134e32fc0b8938abc92695f6850d1.tar.zst
bytes-8daf43e9bde134e32fc0b8938abc92695f6850d1.zip
docs: fix broken Take link (#466)
-rw-r--r--src/buf/take.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buf/take.rs b/src/buf/take.rs
index 1747f6e..2f4c436 100644
--- a/src/buf/take.rs
+++ b/src/buf/take.rs
@@ -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.BufExt.html#method.take) for more details.
+/// documentation of [`take()`](trait.Buf.html#method.take) for more details.
#[derive(Debug)]
pub struct Take<T> {
inner: T,