summaryrefslogtreecommitdiffstats
path: root/tokio-io/src/io/read_exact.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-io/src/io/read_exact.rs')
-rw-r--r--tokio-io/src/io/read_exact.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tokio-io/src/io/read_exact.rs b/tokio-io/src/io/read_exact.rs
index 6a616b97..28b65118 100644
--- a/tokio-io/src/io/read_exact.rs
+++ b/tokio-io/src/io/read_exact.rs
@@ -9,9 +9,7 @@ use std::task::{Context, Poll};
/// A future which can be used to easily read exactly enough bytes to fill
/// a buffer.
///
-/// Created by the [`read_exact`] function.
-///
-/// [`read_exact`]: fn.read_exact.html
+/// Created by the [`AsyncRead::read_exact`].
pub(crate) fn read_exact<'a, A>(reader: &'a mut A, buf: &'a mut [u8]) -> ReadExact<'a, A>
where
A: AsyncRead + Unpin + ?Sized,