We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 317da0b + 5f34815 commit ea9b00fCopy full SHA for ea9b00f
src/libstd/sync/condvar.rs
@@ -173,7 +173,7 @@ impl Condvar {
173
/// be woken up from its call to `wait` or `wait_timeout`. Calls to
174
/// `notify_one` are not buffered in any way.
175
///
176
- /// To wake up all threads, see `notify_one()`.
+ /// To wake up all threads, see `notify_all()`.
177
#[stable]
178
pub fn notify_one(&self) { unsafe { self.inner.inner.notify_one() } }
179
0 commit comments