Skip to content

Commit

Permalink
Fix a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
temeddix committed Sep 14, 2024
1 parent 94afa5a commit d7dfcf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust_crate/src/shutdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl Event {
}

/// Sets the flag to `true` and notifies all waiting threads.
/// This will wake up any threads waiting on the condition variable.
/// This will wake up any threads or async tasks.
pub fn set(&self) {
let mut inner = match self.inner.lock() {
Ok(inner) => inner,
Expand Down

0 comments on commit d7dfcf4

Please sign in to comment.