From 13974068f93dd64f497c552e856e8584d29e0d02 Mon Sep 17 00:00:00 2001 From: Pythonidea Date: Thu, 23 Apr 2020 01:18:48 +0800 Subject: [PATCH] io: fix typo on AsyncWrite doc (#2427) --- tokio/src/io/async_write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio/src/io/async_write.rs b/tokio/src/io/async_write.rs index 0bfed056e..014636395 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<'_>,