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
commit ea9b00fdad
1 changed files with 1 additions and 1 deletions

View File

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