diff options
Diffstat (limited to 'tokio/src/io/poll_evented.rs')
-rw-r--r-- | tokio/src/io/poll_evented.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tokio/src/io/poll_evented.rs b/tokio/src/io/poll_evented.rs index 6c795b8b..c651b77e 100644 --- a/tokio/src/io/poll_evented.rs +++ b/tokio/src/io/poll_evented.rs @@ -212,7 +212,7 @@ where Ok(io) } - /// Check the I/O resource's read readiness state. + /// Checks the I/O resource's read readiness state. /// /// The mask argument allows specifying what readiness to notify on. This /// can be any value, including platform specific readiness, **except** @@ -280,12 +280,12 @@ where Ok(()) } - /// Check the I/O resource's write readiness state. + /// Checks the I/O resource's write readiness state. /// /// This always checks for writable readiness and also checks for HUP /// readiness on platforms that support it. /// - /// If the resource is not ready for a write then `Async::NotReady` is + /// If the resource is not ready for a write then `Poll::Pending` is /// returned and the current task is notified once a new event is received. /// /// The I/O resource will remain in a write-ready state until readiness is |