summaryrefslogtreecommitdiffstats
path: root/tokio-util/src/io/read_buf.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-util/src/io/read_buf.rs')
-rw-r--r--tokio-util/src/io/read_buf.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tokio-util/src/io/read_buf.rs b/tokio-util/src/io/read_buf.rs
index cc3c505f..a5d46a7d 100644
--- a/tokio-util/src/io/read_buf.rs
+++ b/tokio-util/src/io/read_buf.rs
@@ -5,9 +5,9 @@ use std::pin::Pin;
use std::task::{Context, Poll};
use tokio::io::AsyncRead;
-/// Read data from an `AsyncRead` into an implementer of the [`Buf`] trait.
+/// Read data from an `AsyncRead` into an implementer of the [`BufMut`] trait.
///
-/// [`Buf`]: bytes::Buf
+/// [`BufMut`]: bytes::BufMut
///
/// # Example
///