mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
sync: fix incorrect comment (#6020)
This commit is contained in:
@@ -824,7 +824,7 @@ fn maybe_changed<T>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if state.is_closed() {
|
if state.is_closed() {
|
||||||
// All receivers have dropped.
|
// The sender has been dropped.
|
||||||
return Some(Err(error::RecvError(())));
|
return Some(Err(error::RecvError(())));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user