summaryrefslogtreecommitdiffstats
path: root/tokio/src/fs/read_to_string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio/src/fs/read_to_string.rs')
-rw-r--r--tokio/src/fs/read_to_string.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/tokio/src/fs/read_to_string.rs b/tokio/src/fs/read_to_string.rs
index c743bb4d..4f37986d 100644
--- a/tokio/src/fs/read_to_string.rs
+++ b/tokio/src/fs/read_to_string.rs
@@ -5,7 +5,9 @@ use std::{io, path::Path};
/// Creates a future which will open a file for reading and read the entire
/// contents into a string and return said string.
///
-/// This is the async equivalent of `std::fs::read_to_string`.
+/// This is the async equivalent of [`std::fs::read_to_string`][std].
+///
+/// [std]: fn@std::fs::read_to_string
///
/// # Examples
///