From ec1f33fe622098e4cdbc8bf6ea494aaa41dcb234 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Sun, 8 Sep 2019 02:03:09 +0200 Subject: [PATCH] inline better Signed-off-by: Yoshua Wuyts --- src/io/prelude.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/io/prelude.rs b/src/io/prelude.rs index e7303a9..65438e1 100644 --- a/src/io/prelude.rs +++ b/src/io/prelude.rs @@ -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 _;