mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-24 00:00:11 +02:00
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:
@@ -338,7 +338,6 @@ impl<T> Sender<T> {
|
||||
// Notify all watchers
|
||||
notify_all(&*shared);
|
||||
|
||||
// Return the old value
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user