about summary refs log tree commit diff
path: root/src/libstd/sync
diff options
context:
space:
mode:
authorFenhl <fenhl@fenhl.net>2015-01-15 22:43:12 +0000
committerFenhl <fenhl@fenhl.net>2015-01-15 22:43:12 +0000
commit5f34815a221ec623f26e7a599a8807be5e53ccb3 (patch)
tree90fb1ccb854a19d7cf01f213ffa3c20979a317f2 /src/libstd/sync
parent9ade482b3bdc7a967ca98f1f1138b596ef45191e (diff)
downloadrust-5f34815a221ec623f26e7a599a8807be5e53ccb3.tar.gz
rust-5f34815a221ec623f26e7a599a8807be5e53ccb3.zip
Fix sync::condvar::Condvar::notify_one docs
Diffstat (limited to 'src/libstd/sync')
-rw-r--r--src/libstd/sync/condvar.rs2
1 files changed, 1 insertions, 1 deletions
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() } }