summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Rofls <colin@cmyr.net>2018-03-06 13:41:24 -0500
committerCarl Lerche <me@carllerche.com>2018-03-06 10:41:24 -0800
commitae20270d0010f3f990546bdf2ee284185b85fdbd (patch)
tree9919faf04322d1f6fc8ebcac44601986b081ff76
parentf1cb12e14fb047f3f86c852c253962c60ce471e8 (diff)
Fixup docs for AllowStdIo (#184)
-rw-r--r--tokio-io/src/allow_std.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/tokio-io/src/allow_std.rs b/tokio-io/src/allow_std.rs
index d57eaa89..ffa17910 100644
--- a/tokio-io/src/allow_std.rs
+++ b/tokio-io/src/allow_std.rs
@@ -2,9 +2,9 @@ use {AsyncRead, AsyncWrite};
use futures::{Async, Poll};
use std::{fmt, io};
-/// A simple wrapper type which allows types which implement only
-/// implement `std::io::Read` or `std::io::Write`
-/// to be used in contexts which expect an `AsyncRead` or `AsyncWrite`.
+/// A simple wrapper type which allows types that only implement
+/// `std::io::Read` or `std::io::Write` to be used in contexts which expect
+/// an `AsyncRead` or `AsyncWrite`.
///
/// If these types issue an error with the kind `io::ErrorKind::WouldBlock`,
/// it is expected that they will notify the current task on readiness.