Skip to content

Commit

Permalink
Update tokio/src/sync/watch.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Timofei <[email protected]>
  • Loading branch information
uklotzde and victor-timofei authored Sep 18, 2023
1 parent 46717bd commit e14644c
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 @@ -644,7 +644,7 @@ impl<T> Receiver<T> {
Ok(self.version != new_version)
}

/// Marks the state as unseen.
/// Marks the state as changed.
pub fn mark_changed(&mut self) {
self.version.decrement();
}
Expand Down

0 comments on commit e14644c

Please sign in to comment.