]> git.lizzy.rs Git - rust.git/commitdiff
Fix sync::condvar::Condvar::notify_one docs
authorFenhl <fenhl@fenhl.net>
Thu, 15 Jan 2015 22:43:12 +0000 (22:43 +0000)
committerFenhl <fenhl@fenhl.net>
Thu, 15 Jan 2015 22:43:12 +0000 (22:43 +0000)
src/libstd/sync/condvar.rs

index bcd5f56a353792790e6467a5835e0987a03ba63a..2cc47197c74ef222a91b8cd91c9ece9252b1d552 100644 (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() } }