Don't re-export ext traits in async_std::io

staging
Stjepan Glavina 5 years ago
parent 217e435e8e
commit bfab20da03

@ -23,34 +23,35 @@
#[doc(inline)]
pub use std::io::{Error, ErrorKind, IoSlice, IoSliceMut, Result, SeekFrom};
pub use buf_read::{BufRead, BufReadExt, Lines};
pub use buf_read::{BufRead, Lines};
pub use buf_reader::BufReader;
pub use copy::copy;
pub use cursor::Cursor;
pub use empty::{empty, Empty};
pub use read::{Read, ReadExt};
pub use read::Read;
pub use repeat::{repeat, Repeat};
pub use seek::{Seek, SeekExt};
pub use seek::Seek;
pub use sink::{sink, Sink};
pub use stderr::{stderr, Stderr};
pub use stdin::{stdin, Stdin};
pub use stdout::{stdout, Stdout};
pub use timeout::timeout;
pub use write::{Write, WriteExt};
pub use write::Write;
pub mod prelude;
mod buf_read;
pub(crate) mod buf_read;
pub(crate) mod read;
pub(crate) mod seek;
pub(crate) mod write;
mod buf_reader;
mod copy;
mod cursor;
mod empty;
mod read;
mod repeat;
mod seek;
mod sink;
mod stderr;
mod stdin;
mod stdout;
mod timeout;
mod write;

@ -18,10 +18,10 @@ pub use crate::io::Seek;
pub use crate::io::Write;
#[doc(hidden)]
pub use crate::io::BufReadExt as _;
pub use crate::io::buf_read::BufReadExt as _;
#[doc(hidden)]
pub use crate::io::ReadExt as _;
pub use crate::io::read::ReadExt as _;
#[doc(hidden)]
pub use crate::io::SeekExt as _;
pub use crate::io::seek::SeekExt as _;
#[doc(hidden)]
pub use crate::io::WriteExt as _;
pub use crate::io::write::WriteExt as _;

@ -27,10 +27,10 @@ pub use crate::stream::Stream;
pub use crate::task_local;
#[doc(hidden)]
pub use crate::io::BufReadExt as _;
pub use crate::io::buf_read::BufReadExt as _;
#[doc(hidden)]
pub use crate::io::ReadExt as _;
pub use crate::io::read::ReadExt as _;
#[doc(hidden)]
pub use crate::io::SeekExt as _;
pub use crate::io::seek::SeekExt as _;
#[doc(hidden)]
pub use crate::io::WriteExt as _;
pub use crate::io::write::WriteExt as _;

Loading…
Cancel
Save