about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-01-16 06:31:02 +0000
committerbors <bors@rust-lang.org>2015-01-16 06:31:02 +0000
commitea9b00fdadecbbe3961a84122a37a4700c6335da (patch)
tree28a4462f0784f71a88f1651f96660af9bcbf59f6 /src/libstd
parent317da0bf2a868e0b946b78268d7b2414b865c2a9 (diff)
parent5f34815a221ec623f26e7a599a8807be5e53ccb3 (diff)
downloadrust-ea9b00fdadecbbe3961a84122a37a4700c6335da.tar.gz
rust-ea9b00fdadecbbe3961a84122a37a4700c6335da.zip
Merge pull request #21211 from fenhl/patch-1
Fix std::sync::condvar::Condvar::notify_one docs

Reviewed-by: alexcrichton
Diffstat (limited to 'src/libstd')
-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() } }