From 851067b0021f7335eaf63ed0f0279a2907c5d29d Mon Sep 17 00:00:00 2001 From: Dmitry Rodionov Date: Wed, 29 Mar 2023 18:56:04 +0300 Subject: [PATCH 1/2] fix typo in tokio::sync::watch::Sender docs --- 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 4341b642999..9ca75979b99 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. /// From d3d37986e58d2c28d6e95d041d2ce276e9bb6fac Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Wed, 29 Mar 2023 18:17:40 +0200 Subject: [PATCH 2/2] try to fix ci