Skip to content

Commit

Permalink
Fix grammar in description of WeakSender and WeakReceiver
Browse files Browse the repository at this point in the history
  • Loading branch information
branan authored and notgull committed Sep 20, 2024
1 parent 74b2c74 commit 1623170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ impl<T> futures_core::stream::FusedStream for Receiver<T> {
}
}

/// A [`Sender`] that prevents the channel from not being closed.
/// A [`Sender`] that does not prevent the channel from being closed.
///
/// This is created through the [`Sender::downgrade`] method. In order to use it, it needs
/// to be upgraded into a [`Sender`] through the `upgrade` method.
Expand Down Expand Up @@ -978,7 +978,7 @@ impl<T> fmt::Debug for WeakSender<T> {
}
}

/// A [`Receiver`] that prevents the channel from not being closed.
/// A [`Receiver`] that does not prevent the channel from being closed.
///
/// This is created through the [`Receiver::downgrade`] method. In order to use it, it needs
/// to be upgraded into a [`Receiver`] through the `upgrade` method.
Expand Down

0 comments on commit 1623170

Please sign in to comment.