mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
sync: fix typo in Notify documentation (#2794)
This commit is contained in:
parent
4e12299826
commit
0ccc09ac92
@ -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.
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user