mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-21 00:00:10 +02:00
sync: fix typo in oneshot send doc (#8026)
This commit is contained in:
@@ -583,7 +583,7 @@ impl<T> Sender<T> {
|
||||
/// not be sent.
|
||||
///
|
||||
/// This method consumes `self` as only one value may ever be sent on a `oneshot`
|
||||
/// channel. It is not marked async because sending a message to an `oneshot`
|
||||
/// channel. It is not marked async because sending a message to a `oneshot`
|
||||
/// channel never requires any form of waiting. Because of this, the `send`
|
||||
/// method can be used in both synchronous and asynchronous code without
|
||||
/// problems.
|
||||
|
||||
Reference in New Issue
Block a user