Merge pull request #21211 from fenhl/patch-1

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

Reviewed-by: alexcrichton
This commit is contained in:
bors
2015-01-16 06:31:02 +00:00
+1 -1
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() } }