From 0ccc09ac92c17ca81a2fd19fe7c7fe4c00e40c30 Mon Sep 17 00:00:00 2001 From: James Mills Date: Wed, 26 Aug 2020 19:26:43 +0100 Subject: sync: fix typo in Notify documentation (#2794) --- tokio/src/sync/notify.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tokio/src/sync/notify.rs') 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. /// -- cgit v1.2.3