Skip to content

Commit ea9b00f

Browse files
committed
Merge pull request #21211 from fenhl/patch-1
Fix std::sync::condvar::Condvar::notify_one docs Reviewed-by: alexcrichton
2 parents 317da0b + 5f34815 commit ea9b00f

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)