sync: fix typo in Notify documentation (#2794)

This commit is contained in:
James Mills
2020-08-26 20:26:43 +02:00
committed by GitHub
parent 4e12299826
commit 0ccc09ac92
+1 -1
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.
///