summaryrefslogtreecommitdiffstats
path: root/tokio/src/fs
diff options
context:
space:
mode:
authorPen Tree <appletree2479@outlook.com>2019-11-21 04:24:17 +0800
committerEliza Weisman <eliza@buoyant.io>2019-11-20 12:24:17 -0800
commitbc150cd0b56cf6dcb7c4feab64e83b9938faa186 (patch)
treec3038169ab75c7cc16d7a2d9bded7cf015e681c0 /tokio/src/fs
parent15dce2d11ad849e25f0336f09fdb1cca7e405a9e (diff)
Fix doc links (#1799)
Link fix only. After this fix, `cargo doc --package` succeeds.
Diffstat (limited to 'tokio/src/fs')
-rw-r--r--tokio/src/fs/mod.rs2
-rw-r--r--tokio/src/fs/read_dir.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tokio/src/fs/mod.rs b/tokio/src/fs/mod.rs
index 93724280..c9e4e637 100644
--- a/tokio/src/fs/mod.rs
+++ b/tokio/src/fs/mod.rs
@@ -6,7 +6,7 @@
//!
//! Tasks run by *worker* threads should not block, as this could delay
//! servicing reactor events. Portable filesystem operations are blocking,
-//! however. This module offers adapters which use a [`blocking`] annotation
+//! however. This module offers adapters which use a `blocking` annotation
//! to inform the runtime that a blocking operation is required. When
//! necessary, this allows the runtime to convert the current thread from a
//! *worker* to a *backup* thread, where blocking is acceptable.
diff --git a/tokio/src/fs/read_dir.rs b/tokio/src/fs/read_dir.rs
index 219c7b35..d252eabb 100644
--- a/tokio/src/fs/read_dir.rs
+++ b/tokio/src/fs/read_dir.rs
@@ -36,7 +36,7 @@ pub async fn read_dir(path: impl AsRef<Path>) -> io::Result<ReadDir> {
///
/// [`read_dir`]: read_dir
/// [`DirEntry`]: DirEntry
-/// [`Stream`]: Stream
+/// [`Stream`]: futures_core::Stream
/// [`Err`]: std::result::Result::Err
#[derive(Debug)]
#[must_use = "streams do nothing unless polled"]