diff options
author | Taiki Endo <te316e89@gmail.com> | 2020-09-24 22:59:47 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-24 22:59:47 +0900 |
commit | c29f13b7a5cc68fa2dfe52991d8b7497b2497725 (patch) | |
tree | a86728df1ecf3cb6599f01cd80031ce264015dbd | |
parent | a0557840eb424e174bf81a0175c40f9e176a2cc2 (diff) |
docs: use #[doc(no_inline)] on re-exports (#2874)
-rw-r--r-- | tokio/src/io/mod.rs | 1 | ||||
-rw-r--r-- | tokio/src/stream/mod.rs | 1 | ||||
-rw-r--r-- | tokio/src/time/mod.rs | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tokio/src/io/mod.rs b/tokio/src/io/mod.rs index 1ca3fe69..7eba6d14 100644 --- a/tokio/src/io/mod.rs +++ b/tokio/src/io/mod.rs @@ -201,6 +201,7 @@ pub use self::read_buf::ReadBuf; // Re-export some types from `std::io` so that users don't have to deal // with conflicts when `use`ing `tokio::io` and `std::io`. +#[doc(no_inline)] pub use std::io::{Error, ErrorKind, Result, SeekFrom}; cfg_io_driver! { diff --git a/tokio/src/stream/mod.rs b/tokio/src/stream/mod.rs index a2eef57a..6a99d9d8 100644 --- a/tokio/src/stream/mod.rs +++ b/tokio/src/stream/mod.rs @@ -125,6 +125,7 @@ cfg_time! { use crate::stream::throttle::{throttle, Throttle}; } +#[doc(no_inline)] pub use futures_core::Stream; /// An extension trait for `Stream`s that provides a variety of convenient diff --git a/tokio/src/time/mod.rs b/tokio/src/time/mod.rs index 2c6df43c..72b0317f 100644 --- a/tokio/src/time/mod.rs +++ b/tokio/src/time/mod.rs @@ -125,6 +125,7 @@ mod wheel; mod tests; // Re-export for convenience +#[doc(no_inline)] pub use std::time::Duration; // ===== Internal utils ===== |