File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -491,11 +491,11 @@ pub fn channel<T>() -> (Sender<T>, Receiver<T>) {
491
491
/// becomes available. These channels differ greatly in the semantics of the
492
492
/// sender from asynchronous channels, however.
493
493
///
494
- /// This channel has an internal buffer on which messages will be queued. When
495
- /// the internal buffer becomes full, future sends will *block* waiting for the
496
- /// buffer to open up. Note that a buffer size of 0 is valid, in which case this
497
- /// becomes "rendezvous channel" where each send will not return until a recv
498
- /// is paired with it.
494
+ /// This channel has an internal buffer on which messages will be queued. `bound`
495
+ /// specifies the buffer size. When the internal buffer becomes full, future sends
496
+ /// will *block* waiting for the buffer to open up. Note that a buffer size of 0
497
+ /// is valid, in which case this becomes "rendezvous channel" where each send will
498
+ /// not return until a recv is paired with it.
499
499
///
500
500
/// As with asynchronous channels, all senders will panic in `send` if the
501
501
/// `Receiver` has been destroyed.
You can’t perform that action at this time.
0 commit comments