Skip to content

Commit

Permalink
Update futures-channel/src/oneshot.rs
Browse files Browse the repository at this point in the history
Clarify wording in doc comment :)

Co-authored-by: Taiki Endo <te316e89@gmail.com>
  • Loading branch information
2 people authored and cramertj committed Sep 28, 2020
1 parent e9d1a07 commit 1d93f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion futures-channel/src/oneshot.rs
Expand Up @@ -70,7 +70,7 @@ struct Inner<T> {
tx_task: Lock<Option<Waker>>,
}

/// Creates a new one-shot channel for sending values across asynchronous tasks.
/// Creates a new one-shot channel for sending a single value across asynchronous tasks.
///
/// The channel works for a spsc (single-producer, single-consumer) scheme.
///
Expand Down

0 comments on commit 1d93f5d

Please sign in to comment.