From 927df0e9d936ef6995a6b9abedabc032b8ef655c Mon Sep 17 00:00:00 2001 From: winningMove Date: Wed, 8 Apr 2026 19:31:22 +0200 Subject: [PATCH] sync: fix typo in oneshot send doc (#8026) --- tokio/src/sync/oneshot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/sync/oneshot.rs b/tokio/src/sync/oneshot.rs index 7f9571c90..9603081b9 100644 --- a/tokio/src/sync/oneshot.rs +++ b/tokio/src/sync/oneshot.rs @@ -583,7 +583,7 @@ impl Sender { /// 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.