Skip to content

Commit 5f34815

Browse files
committed
Fix sync::condvar::Condvar::notify_one docs
1 parent 9ade482 commit 5f34815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sync/condvar.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ impl Condvar {
173173
/// be woken up from its call to `wait` or `wait_timeout`. Calls to
174174
/// `notify_one` are not buffered in any way.
175175
///
176-
/// To wake up all threads, see `notify_one()`.
176+
/// To wake up all threads, see `notify_all()`.
177177
#[stable]
178178
pub fn notify_one(&self) { unsafe { self.inner.inner.notify_one() } }
179179

0 commit comments

Comments
 (0)