From 6dcce1901a53f099bf10f242943b44010f264171 Mon Sep 17 00:00:00 2001 From: nicolaiunrein Date: Mon, 20 Jul 2020 23:30:28 +0200 Subject: sync: remove misleading comment (#2666) 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(-) (limited to 'tokio/src/sync/watch.rs') diff --git a/tokio/src/sync/watch.rs b/tokio/src/sync/watch.rs index ba609a8c..13033d9e 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(()) } -- cgit v1.2.3