diff options
author | Alice Ryhl <alice@ryhl.io> | 2020-03-28 21:20:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 13:20:51 -0700 |
commit | 7b2438e7441e98b2a3f72eb239b1c51489b7d9b8 (patch) | |
tree | 8fbcef4e808cf9934870461a1d904319fb41d4a2 /tokio/src/sync/notify.rs | |
parent | 00725f6876821f2ec5246a807563e35c5e53f3e1 (diff) |
sync: fix notified link (#2351)
Diffstat (limited to 'tokio/src/sync/notify.rs')
-rw-r--r-- | tokio/src/sync/notify.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/sync/notify.rs b/tokio/src/sync/notify.rs index 56b1c9a8..5cb41e89 100644 --- a/tokio/src/sync/notify.rs +++ b/tokio/src/sync/notify.rs @@ -22,7 +22,7 @@ use std::task::{Context, Poll, Waker}; /// /// The synchronization details of `Notify` are similar to /// [`thread::park`][park] and [`Thread::unpark`][unpark] from std. A [`Notify`] -/// value contains a single permit. [`notfied().await`] waits for the permit to +/// value contains a single permit. [`notified().await`] waits for the permit to /// be made available, consumes the permit, and resumes. [`notify()`] sets the /// permit, waking a pending task if there is one. /// |