mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-28 12:10:37 +00:00
docs: use #[doc(no_inline)] on re-exports (#2874)
This commit is contained in:
parent
a0557840eb
commit
c29f13b7a5
@ -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! {
|
||||
|
@ -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
|
||||
|
@ -125,6 +125,7 @@ mod wheel;
|
||||
mod tests;
|
||||
|
||||
// Re-export for convenience
|
||||
#[doc(no_inline)]
|
||||
pub use std::time::Duration;
|
||||
|
||||
// ===== Internal utils =====
|
||||
|
Loading…
x
Reference in New Issue
Block a user