diff --git a/tokio/src/sync/oneshot.rs b/tokio/src/sync/oneshot.rs index f5718dc92f8..7afa1aa4997 100644 --- a/tokio/src/sync/oneshot.rs +++ b/tokio/src/sync/oneshot.rs @@ -227,7 +227,7 @@ pub struct Sender { /// [`channel`](fn@channel) function. /// /// This channel has no `recv` method because the receiver itself implements the -/// [`Future`] trait. To receive a value, `.await` the `Receiver` object directly. +/// [`Future`] trait. To receive a `Result`, `.await` the `Receiver` object directly. /// /// The `poll` method on the `Future` trait is allowed to spuriously return /// `Poll::Pending` even if the message has been sent. If such a spurious