From fed678994756027189bfcca47663b091000dc7fd Mon Sep 17 00:00:00 2001 From: nicflower <50106721+nicflower@users.noreply.github.com> Date: Mon, 11 Sep 2023 20:42:10 +0200 Subject: [PATCH] fix comment typo Co-authored-by: Alice Ryhl --- tokio/src/sync/watch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/sync/watch.rs b/tokio/src/sync/watch.rs index 569257540e5..98a88581975 100644 --- a/tokio/src/sync/watch.rs +++ b/tokio/src/sync/watch.rs @@ -857,7 +857,7 @@ impl Sender { /// Creates the sending-half of the [`watch`] channel. /// /// See documentation of [`watch::channel`] for errors when calling this function. - /// Beware that attempting to send a value when no one subscribed to the channel will + /// Beware that attempting to send a value when there are no receivers will /// return an error. /// /// [`watch`]: crate::sync::watch