doc: rename notify to notify_one (#3526)

This commit is contained in:
Pen Tree
2021-02-15 20:21:27 +01:00
committed by GitHub
parent e3f2dcf5bc
commit 36bcfa6b9d
+2 -2
View File
@@ -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()`.
///