summaryrefslogtreecommitdiffstats
path: root/tokio/src/io/async_write.rs
diff options
context:
space:
mode:
authorPythonidea <an3639@126.com>2020-04-23 01:18:48 +0800
committerGitHub <noreply@github.com>2020-04-22 19:18:48 +0200
commit13974068f93dd64f497c552e856e8584d29e0d02 (patch)
tree122c0deed6dbe00b7e9310a69934c66d5e6d7e04 /tokio/src/io/async_write.rs
parent6349efd2374624f04a8346b1cbef5b6a896dbf5d (diff)
io: fix typo on AsyncWrite doc (#2427)
Diffstat (limited to 'tokio/src/io/async_write.rs')
-rw-r--r--tokio/src/io/async_write.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokio/src/io/async_write.rs b/tokio/src/io/async_write.rs
index 0bfed056..01463639 100644
--- a/tokio/src/io/async_write.rs
+++ b/tokio/src/io/async_write.rs
@@ -51,7 +51,7 @@ pub trait AsyncWrite {
/// If the object is not ready for writing, the method returns
/// `Poll::Pending` and arranges for the current task (via
/// `cx.waker()`) to receive a notification when the object becomes
- /// readable or is closed.
+ /// writable or is closed.
fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,