sync: remove misleading comment (#2666)

We are not returning the old value. I suppose this was once indented and this
is a leftover.
This commit is contained in:
nicolaiunrein 2020-07-20 23:30:28 +02:00 committed by GitHub
parent 32f46d7b88
commit 6dcce1901a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,7 +338,6 @@ impl<T> Sender<T> {
// Notify all watchers
notify_all(&*shared);
// Return the old value
Ok(())
}