mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00: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:
parent
32f46d7b88
commit
6dcce1901a
@ -338,7 +338,6 @@ impl<T> Sender<T> {
|
|||||||
// Notify all watchers
|
// Notify all watchers
|
||||||
notify_all(&*shared);
|
notify_all(&*shared);
|
||||||
|
|
||||||
// Return the old value
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user