diff --git a/tokio/src/sync/mod.rs b/tokio/src/sync/mod.rs index 33f3a35f128..ef7a09a89b6 100644 --- a/tokio/src/sync/mod.rs +++ b/tokio/src/sync/mod.rs @@ -278,7 +278,7 @@ //! //! ## `watch` channel //! -//! The [`watch` channel] supports sending **many** values from a **single** +//! The [`watch` channel] supports sending **many** values from a **many** //! producer to **many** consumers. However, only the **most recent** value is //! stored in the channel. Consumers are notified when a new value is sent, but //! there is no guarantee that consumers will see **all** values. diff --git a/tokio/src/sync/watch.rs b/tokio/src/sync/watch.rs index a813a829b40..c3ab0bdc695 100644 --- a/tokio/src/sync/watch.rs +++ b/tokio/src/sync/watch.rs @@ -1,6 +1,6 @@ #![cfg_attr(not(feature = "sync"), allow(dead_code, unreachable_pub))] -//! A single-producer, multi-consumer channel that only retains the *last* sent +//! A multi-producer, multi-consumer channel that only retains the *last* sent //! value. //! //! This channel is useful for watching for changes to a value from multiple