|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
//! The I/O Prelude
|
|
|
|
|
//! The async I/O Prelude
|
|
|
|
|
//!
|
|
|
|
|
//! The purpose of this module is to alleviate imports of many common I/O traits
|
|
|
|
|
//! by adding a glob import to the top of I/O heavy modules:
|
|
|
|
@ -8,4 +8,11 @@
|
|
|
|
|
//! use async_std::io::prelude::*;
|
|
|
|
|
//! ```
|
|
|
|
|
|
|
|
|
|
pub use super::{BufRead, Read, Seek, Write};
|
|
|
|
|
#[doc(no_inline)]
|
|
|
|
|
pub use super::BufRead as _;
|
|
|
|
|
#[doc(no_inline)]
|
|
|
|
|
pub use super::Read as _;
|
|
|
|
|
#[doc(no_inline)]
|
|
|
|
|
pub use super::Seek as _;
|
|
|
|
|
#[doc(no_inline)]
|
|
|
|
|
pub use super::Write as _;
|
|
|
|
|