diff options
author | Carl Lerche <me@carllerche.com> | 2019-12-22 12:55:09 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-22 12:55:09 -0800 |
commit | 7b53b7b659fe1feeb30e768cad8fdadf9531beb6 (patch) | |
tree | ce4020f1e63ee9ecaa822ccd9961de6542bb91c3 /tokio/src/sync/mpsc | |
parent | 99fa93bf0ea504413f6e53b46fbefdee4c0a0904 (diff) |
doc: fill out `fs` and remove html links (#2015)
also add an async version of `fs::canonicalize`
Diffstat (limited to 'tokio/src/sync/mpsc')
-rw-r--r-- | tokio/src/sync/mpsc/bounded.rs | 4 | ||||
-rw-r--r-- | tokio/src/sync/mpsc/mod.rs | 4 | ||||
-rw-r--r-- | tokio/src/sync/mpsc/unbounded.rs | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tokio/src/sync/mpsc/bounded.rs b/tokio/src/sync/mpsc/bounded.rs index 7c7a5abb..da3bd638 100644 --- a/tokio/src/sync/mpsc/bounded.rs +++ b/tokio/src/sync/mpsc/bounded.rs @@ -7,7 +7,7 @@ use std::task::{Context, Poll}; /// Send values to the associated `Receiver`. /// -/// Instances are created by the [`channel`](fn.channel.html) function. +/// Instances are created by the [`channel`](channel) function. pub struct Sender<T> { chan: chan::Tx<T, Semaphore>, } @@ -30,7 +30,7 @@ impl<T> fmt::Debug for Sender<T> { /// Receive values from the associated `Sender`. /// -/// Instances are created by the [`channel`](fn.channel.html) function. +/// Instances are created by the [`channel`](channel) function. pub struct Receiver<T> { /// The channel receiver chan: chan::Rx<T, Semaphore>, diff --git a/tokio/src/sync/mpsc/mod.rs b/tokio/src/sync/mpsc/mod.rs index 60ae60cd..4cfd6150 100644 --- a/tokio/src/sync/mpsc/mod.rs +++ b/tokio/src/sync/mpsc/mod.rs @@ -33,8 +33,8 @@ //! consumes the channel to completion, at which point the receiver can be //! dropped. //! -//! [`Sender`]: struct.Sender.html -//! [`Receiver`]: struct.Receiver.html +//! [`Sender`]: crate::sync::mpsc::Sender +//! [`Receiver`]: crate::sync::mpsc::Receiver pub(super) mod block; diff --git a/tokio/src/sync/mpsc/unbounded.rs b/tokio/src/sync/mpsc/unbounded.rs index 63d04370..d1222f28 100644 --- a/tokio/src/sync/mpsc/unbounded.rs +++ b/tokio/src/sync/mpsc/unbounded.rs @@ -8,7 +8,7 @@ use std::task::{Context, Poll}; /// Send values to the associated `UnboundedReceiver`. /// /// Instances are created by the -/// [`unbounded_channel`](fn.unbounded_channel.html) function. +/// [`unbounded_channel`](unbounded_channel) function. pub struct UnboundedSender<T> { chan: chan::Tx<T, Semaphore>, } @@ -32,7 +32,7 @@ impl<T> fmt::Debug for UnboundedSender<T> { /// Receive values from the associated `UnboundedSender`. /// /// Instances are created by the -/// [`unbounded_channel`](fn.unbounded_channel.html) function. +/// [`unbounded_channel`](unbounded_channel) function. pub struct UnboundedReceiver<T> { /// The channel receiver chan: chan::Rx<T, Semaphore>, |