mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-30 00:00:16 +02:00
Fixup docs for AllowStdIo (#184)
This commit is contained in:
@@ -2,9 +2,9 @@ use {AsyncRead, AsyncWrite};
|
|||||||
use futures::{Async, Poll};
|
use futures::{Async, Poll};
|
||||||
use std::{fmt, io};
|
use std::{fmt, io};
|
||||||
|
|
||||||
/// A simple wrapper type which allows types which implement only
|
/// A simple wrapper type which allows types that only implement
|
||||||
/// implement `std::io::Read` or `std::io::Write`
|
/// `std::io::Read` or `std::io::Write` to be used in contexts which expect
|
||||||
/// to be used in contexts which expect an `AsyncRead` or `AsyncWrite`.
|
/// an `AsyncRead` or `AsyncWrite`.
|
||||||
///
|
///
|
||||||
/// If these types issue an error with the kind `io::ErrorKind::WouldBlock`,
|
/// If these types issue an error with the kind `io::ErrorKind::WouldBlock`,
|
||||||
/// it is expected that they will notify the current task on readiness.
|
/// it is expected that they will notify the current task on readiness.
|
||||||
|
|||||||
Reference in New Issue
Block a user