Skip to content

Commit 153386d

Browse files
committed
reword
1 parent ca9879c commit 153386d

File tree

1 file changed

+3
-4
lines changed
  • library/std/src/sync/mpmc

1 file changed

+3
-4
lines changed

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

+3-4
Original file line numberDiff line numberDiff line change
@@ -360,10 +360,9 @@ impl<T> Sender<T> {
360360
/// that a return value of [`Err`] means that the data will never be
361361
/// received, but a return value of [`Ok`] does *not* mean that the data
362362
/// 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.
367366
///
368367
/// If the channel is full and not disconnected, this call will block until
369368
/// the send operation can proceed. If the channel becomes disconnected,

0 commit comments

Comments
 (0)