diff options
author | zeroed <zeroed@users.noreply.github.com> | 2020-05-02 22:41:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 13:41:40 -0700 |
commit | 31315b94638d8d5912c5f8321d365fd6a210a060 (patch) | |
tree | 5ffaabc5ec4089a4b63402046a5dd3451200fb6d /tokio/src/sync/mpsc | |
parent | 20b5df90372ac97d817d2e3666773dd9561f057f (diff) |
doc: remove reference to the Sink trait in the MPSC documentation (#2476)
The implementation of the Sink trait was removed in 8a7e5778.
Fixes: #2464
Refs: #2389
Diffstat (limited to 'tokio/src/sync/mpsc')
-rw-r--r-- | tokio/src/sync/mpsc/mod.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tokio/src/sync/mpsc/mod.rs b/tokio/src/sync/mpsc/mod.rs index 4cfd6150..d816557f 100644 --- a/tokio/src/sync/mpsc/mod.rs +++ b/tokio/src/sync/mpsc/mod.rs @@ -6,10 +6,9 @@ //! Similar to `std`, channel creation provides [`Receiver`] and [`Sender`] //! handles. [`Receiver`] implements `Stream` and allows a task to read values //! out of the channel. If there is no message to read, the current task will be -//! notified when a new value is sent. [`Sender`] implements the `Sink` trait -//! and allows sending messages into the channel. If the channel is at capacity, -//! the send is rejected and the task will be notified when additional capacity -//! is available. In other words, the channel provides backpressure. +//! notified when a new value is sent. If the channel is at capacity, the send +//! is rejected and the task will be notified when additional capacity is +//! available. In other words, the channel provides backpressure. //! //! Unbounded channels are also available using the `unbounded_channel` //! constructor. |