mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-17 00:00:11 +02:00
io: fix typos in the docs of AsyncFd readiness guards (#7583)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
This commit is contained in:
@@ -988,7 +988,7 @@ impl<'a, Inner: AsRawFd> AsyncFdReadyGuard<'a, Inner> {
|
||||
///
|
||||
/// This method only clears readiness events that happened before the creation of this guard.
|
||||
/// In other words, if the IO resource becomes ready between the creation of the guard and
|
||||
/// this call to `clear_ready`, then the readiness is not actually cleared.
|
||||
/// this call to `clear_ready_matching`, then the readiness is not actually cleared.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@@ -1212,7 +1212,7 @@ impl<'a, Inner: AsRawFd> AsyncFdReadyMutGuard<'a, Inner> {
|
||||
///
|
||||
/// This method only clears readiness events that happened before the creation of this guard.
|
||||
/// In other words, if the IO resource becomes ready between the creation of the guard and
|
||||
/// this call to `clear_ready`, then the readiness is not actually cleared.
|
||||
/// this call to `clear_ready_matching`, then the readiness is not actually cleared.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user