diff --git a/tokio/src/sync/notify.rs b/tokio/src/sync/notify.rs index f39f92f8374..90ec8a2c65d 100644 --- a/tokio/src/sync/notify.rs +++ b/tokio/src/sync/notify.rs @@ -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()`. ///