Skip to content

Commit

Permalink
doc: rename notify to notify_one (#3526)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyctree authored Feb 15, 2021
1 parent e3f2dcf commit 36bcfa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tokio/src/sync/notify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,8 @@ impl Notify {
/// Notifies all waiting tasks
///
/// If a task is currently waiting, that task is notified. Unlike with
/// `notify()`, no permit is stored to be used by the next call to
/// [`notified().await`]. The purpose of this method is to notify all
/// `notify_one()`, no permit is stored to be used by the next call to
/// `notified().await`. The purpose of this method is to notify all
/// already registered waiters. Registering for notification is done by
/// acquiring an instance of the `Notified` future via calling `notified()`.
///
Expand Down

0 comments on commit 36bcfa6

Please sign in to comment.