Skip to content

Commit

Permalink
Update a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
temeddix committed Oct 3, 2024
1 parent 18ab698 commit 6c7510d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust_crate/src/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ impl<T> SignalSender<T> {
impl<T> SignalReceiver<T> {
/// Asynchronously receives the next message from the queue. Only the active
/// receiver is allowed to receive messages. If there are no messages in the
/// queue, the receiver will wait until a new message is sent. If this receiver
/// is not active, it will return `None`.
/// queue, the receiver will wait until a new message is sent.
/// If this receiver is not active, the future will return `None`.
pub fn recv(&self) -> impl Future<Output = Option<T>> {
RecvFuture {
inner: self.inner.clone(),
Expand Down

0 comments on commit 6c7510d

Please sign in to comment.