From e9efb02cb8e5bbae3a0226b911b5d237163407b5 Mon Sep 17 00:00:00 2001 From: nicolaiunrein Date: Fri, 17 Jul 2020 13:44:09 +0200 Subject: [PATCH] Remove misleading comment We are not returning the old value. I suppose this was once indented and this is a leftover. --- tokio/src/sync/watch.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/tokio/src/sync/watch.rs b/tokio/src/sync/watch.rs index ba609a8c6d7..13033d9e726 100644 --- a/tokio/src/sync/watch.rs +++ b/tokio/src/sync/watch.rs @@ -338,7 +338,6 @@ impl Sender { // Notify all watchers notify_all(&*shared); - // Return the old value Ok(()) }