Skip to content

Commit

Permalink
reword
Browse files Browse the repository at this point in the history
  • Loading branch information
usamoi committed Jan 25, 2025
1 parent ca9879c commit 135a7c3
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions library/std/src/sync/mpmc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,10 +360,9 @@ impl<T> Sender<T> {
/// that a return value of [`Err`] means that the data will never be
/// received, but a return value of [`Ok`] does *not* mean that the data
/// will be received. It is possible for the corresponding receiver to
/// hang up immediately after this function returns [`Ok`]. If the channel
/// is zero-capacity, however, the channel becomes a rendezvous channel and
/// it guarantees that the receiver has indeed received the data if this
/// function returns success.
/// hang up immediately after this function returns [`Ok`]. However, if the
/// the channel is zero-capacity, the channel acts as a rendezvous channel
/// and a return value of [`Ok`] means that the data is successfully received.
///
/// If the channel is full and not disconnected, this call will block until
/// the send operation can proceed. If the channel becomes disconnected,
Expand Down

0 comments on commit 135a7c3

Please sign in to comment.