sync: fix typo in Notify documentation (#2794)

This commit is contained in:
James Mills 2020-08-26 19:26:43 +01:00 committed by GitHub
parent 4e12299826
commit 0ccc09ac92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
///