io: fix typos in the docs of AsyncFd readiness guards (#7583)

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
This commit is contained in:
Martin Grigorov
2025-09-06 15:58:41 +08:00
committed by GitHub
parent c9b4e4c110
commit 86400a1920
+2 -2
View File
@@ -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
///