summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync
diff options
context:
space:
mode:
authorJames Mills <james@jaehl.net>2020-08-26 19:26:43 +0100
committerGitHub <noreply@github.com>2020-08-26 20:26:43 +0200
commit0ccc09ac92c17ca81a2fd19fe7c7fe4c00e40c30 (patch)
tree6113a897d3883bcd09067223f24cb8f31a040346 /tokio/src/sync
parent4e12299826a2e3b1f40272fa6657b58ff31ef44f (diff)
sync: fix typo in Notify documentation (#2794)
Diffstat (limited to 'tokio/src/sync')
-rw-r--r--tokio/src/sync/notify.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/sync/notify.rs b/tokio/src/sync/notify.rs
index 5cb41e89..84a94823 100644
--- a/tokio/src/sync/notify.rs
+++ b/tokio/src/sync/notify.rs
@@ -26,7 +26,7 @@ use std::task::{Context, Poll, Waker};
/// be made available, consumes the permit, and resumes. [`notify()`] sets the
/// permit, waking a pending task if there is one.
///
-/// If `notify()` is called **before** `notfied().await`, then the next call to
+/// If `notify()` is called **before** `notified().await`, then the next call to
/// `notified().await` will complete immediately, consuming the permit. Any
/// subsequent calls to `notified().await` will wait for a new permit.
///