Fix sync::condvar::Condvar::notify_one docs
This commit is contained in:
parent
9ade482b3b
commit
5f34815a22
@ -173,7 +173,7 @@ fn wait_timeout<'a, T>(&self, guard: MutexGuard<'a, T>, dur: Duration)
|
||||
/// 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() } }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user