Skip to content

Commit

Permalink
sync: fix docs for Send/Sync bounds in broadcast (#5480)
Browse files Browse the repository at this point in the history
  • Loading branch information
satakuma committed Feb 19, 2023
1 parent 795754a commit eca2406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/sync/broadcast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//! A [`Sender`] is used to broadcast values to **all** connected [`Receiver`]
//! values. [`Sender`] handles are clone-able, allowing concurrent send and
//! receive actions. [`Sender`] and [`Receiver`] are both `Send` and `Sync` as
//! long as `T` is also `Send` or `Sync` respectively.
//! long as `T` is `Send`.
//!
//! When a value is sent, **all** [`Receiver`] handles are notified and will
//! receive the value. The value is stored once inside the channel and cloned on
Expand Down

0 comments on commit eca2406

Please sign in to comment.