diff options
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/condvar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/condvar.rs b/src/libstd/sync/condvar.rs index bcd5f56a353..2cc47197c74 100644 --- a/src/libstd/sync/condvar.rs +++ b/src/libstd/sync/condvar.rs @@ -173,7 +173,7 @@ impl Condvar { /// be woken up from its call to `wait` or `wait_timeout`. Calls to /// `notify_one` are not buffered in any way. /// - /// To wake up all threads, see `notify_one()`. + /// To wake up all threads, see `notify_all()`. #[stable] pub fn notify_one(&self) { unsafe { self.inner.inner.notify_one() } } |
