diff options
author | Carl Lerche <me@carllerche.com> | 2019-11-25 14:32:55 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-25 14:32:55 -0800 |
commit | 4ddc4371709562d2bd1d0373f0555f7c31926e53 (patch) | |
tree | c34ef5906bf8ea7e7c732bd2c211795657e33455 /tokio/src/sync/watch.rs | |
parent | 3ecaa6d91cef271b4c079a2e28bc3270280bcee6 (diff) |
doc: add more doc_cfg annotations (#1821)
Also makes the `tokio::net::{tcp, udp, unix}` modules only for "utility"
types. The primary types are in `tokio::net` directly.
Diffstat (limited to 'tokio/src/sync/watch.rs')
-rw-r--r-- | tokio/src/sync/watch.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tokio/src/sync/watch.rs b/tokio/src/sync/watch.rs index 36bab7bc..124027f9 100644 --- a/tokio/src/sync/watch.rs +++ b/tokio/src/sync/watch.rs @@ -45,10 +45,11 @@ //! threads and can be used in a concurrent environment. Clones of [`Receiver`] //! handles may be moved to separate threads and also used concurrently. //! -//! [`Sender`]: struct.Sender.html -//! [`Receiver`]: struct.Receiver.html -//! [`channel`]: fn.channel.html -//! [`Sender::closed`]: struct.Sender.html#method.closed +//! [`Sender`]: crate::sync::watch::Sender +//! [`Receiver`]: crate::sync::watch::Receiver +//! [`Receiver::recv`]: crate::sync::watch::Receiver::recv +//! [`channel`]: crate::sync::watch::channel +//! [`Sender::closed`]: crate::sync::watch::Sender::closed use crate::future::poll_fn; use crate::sync::task::AtomicWaker; |