From d63d6590787c91ddb942e7f0d743b8c9433adcc0 Mon Sep 17 00:00:00 2001 From: Dmitry Rodionov Date: Wed, 29 Mar 2023 21:05:24 +0300 Subject: [PATCH] sync: fix typo in `tokio::sync::watch::Sender` docs (#5587) --- tokio/src/sync/watch.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tokio/src/sync/watch.rs b/tokio/src/sync/watch.rs index 4341b6429..9ca75979b 100644 --- a/tokio/src/sync/watch.rs +++ b/tokio/src/sync/watch.rs @@ -707,7 +707,7 @@ impl Sender { /// Modifies the watched value **unconditionally** in-place, /// notifying all receivers. /// - /// This can useful for modifying the watched value, without + /// This can be useful for modifying the watched value, without /// having to allocate a new instance. Additionally, this /// method permits sending values even when there are no receivers. /// @@ -747,7 +747,7 @@ impl Sender { /// Modifies the watched value **conditionally** in-place, /// notifying all receivers only if modified. /// - /// This can useful for modifying the watched value, without + /// This can be useful for modifying the watched value, without /// having to allocate a new instance. Additionally, this /// method permits sending values even when there are no receivers. ///