File tree 1 file changed +3
-4
lines changed
library/std/src/sync/mpmc
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -360,10 +360,9 @@ impl<T> Sender<T> {
360
360
/// that a return value of [`Err`] means that the data will never be
361
361
/// received, but a return value of [`Ok`] does *not* mean that the data
362
362
/// will be received. It is possible for the corresponding receiver to
363
- /// hang up immediately after this function returns [`Ok`]. If the channel
364
- /// is zero-capacity, however, the channel becomes a rendezvous channel and
365
- /// it guarantees that the receiver has indeed received the data if this
366
- /// function returns success.
363
+ /// hang up immediately after this function returns [`Ok`]. However, if
364
+ /// the channel is zero-capacity, it acts as a rendezvous channel and a
365
+ /// return value of [`Ok`] means that the data is successfully received.
367
366
///
368
367
/// If the channel is full and not disconnected, this call will block until
369
368
/// the send operation can proceed. If the channel becomes disconnected,
You can’t perform that action at this time.
0 commit comments