We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2520048 commit 5ae2855Copy full SHA for 5ae2855
tokio/src/io/poll_evented.rs
@@ -40,9 +40,8 @@ cfg_io_driver! {
40
/// [`poll_read_ready`] again will also indicate read readiness.
41
///
42
/// When the operation is attempted and is unable to succeed due to the I/O
43
- /// resource not being ready, the caller must call `clear_read_ready` or
44
- /// `clear_write_ready`. This clears the readiness state until a new
45
- /// readiness event is received.
+ /// resource not being ready, the caller must call `clear_readiness`.
+ /// This clears the readiness state until a new readiness event is received.
46
47
/// This allows the caller to implement additional functions. For example,
48
/// [`TcpListener`] implements poll_accept by using [`poll_read_ready`] and
0 commit comments