Skip to content

Commit

Permalink
sync: fix incorrect comment (#6020)
Browse files Browse the repository at this point in the history
  • Loading branch information
uklotzde authored Sep 21, 2023
1 parent 3f6165d commit 9bc782a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/sync/watch.rs
Original file line number Diff line number Diff line change
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 9bc782a

Please sign in to comment.