mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-19 20:13:51 +00:00
inline better
Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
parent
b1d85ab460
commit
ec1f33fe62
1 changed files with 9 additions and 2 deletions
|
@ -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 _;
|
||||
|
|
Loading…
Reference in a new issue