mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +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.
|
/// not be sent.
|
||||||
///
|
///
|
||||||
/// This method consumes `self` as only one value may ever be sent on a `oneshot`
|
/// 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`
|
/// channel never requires any form of waiting. Because of this, the `send`
|
||||||
/// method can be used in both synchronous and asynchronous code without
|
/// method can be used in both synchronous and asynchronous code without
|
||||||
/// problems.
|
/// problems.
|
||||||
|
|||||||
Reference in New Issue
Block a user