Skip to content

Commit

Permalink
Fix code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde committed Sep 20, 2023
1 parent 3f6165d commit 4ae1a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/sync/watch.rs
Expand Up @@ -824,7 +824,7 @@ fn maybe_changed<T>(
}

if state.is_closed() {
// All receivers have dropped.
// The sender has been dropped.
return Some(Err(error::RecvError(())));
}

Expand Down

0 comments on commit 4ae1a19

Please sign in to comment.