]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/sync/condvar.rs
auto merge of #21132 : sfackler/rust/wait_timeout, r=alexcrichton
[rust.git] / src / libstd / sync / condvar.rs
index b8b186f31e044089afe0e1fdfdb9d394489e757d..a81a4504323071c4f28bbde7442114b5013b8cb1 100644 (file)
@@ -188,7 +188,7 @@ pub fn wait_timeout_with<'a, T, F>(&self,
     /// 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() } }