Skip to content

Commit 1706780

Browse files
committed
Document that mpmc channels deliver an item to one receiver.
See discussion: rust-lang#126840 (comment)
1 parent 4ed3235 commit 1706780

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sync/mpmc

1 file changed

+1
-0
lines changed

library/std/src/sync/mpmc/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
//! [`Sender`]s are used to send data to a set of [`Receiver`]s. Both
1010
//! sender and receiver are cloneable (multi-producer) such that many threads can send
1111
//! simultaneously to receivers (multi-consumer).
12+
//! Each item is delivered to (at most) one receiver.
1213
//!
1314
//! These channels come in two flavors:
1415
//!

0 commit comments

Comments
 (0)