Fix sync::condvar::Condvar::notify_one docs

This commit is contained in:
Fenhl 2015-01-15 22:43:12 +00:00
parent 9ade482b3b
commit 5f34815a22

View File

@ -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() } }