From 5f34815a221ec623f26e7a599a8807be5e53ccb3 Mon Sep 17 00:00:00 2001 From: Fenhl Date: Thu, 15 Jan 2015 22:43:12 +0000 Subject: [PATCH] Fix sync::condvar::Condvar::notify_one docs --- src/libstd/sync/condvar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } }