io: fix typo on AsyncWrite doc (#2427)

This commit is contained in:
Pythonidea
2020-04-22 19:18:48 +02:00
committed by GitHub
parent 6349efd237
commit 13974068f9
+1 -1
View File
@@ -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<'_>,