Skip to content

Commit

Permalink
Ignore unreachable_pub false positives (#2549)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Jan 12, 2022
1 parent 5406a5e commit 28c5577
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions futures/src/lib.rs
Expand Up @@ -177,17 +177,20 @@ pub mod prelude {
pub use crate::stream::{self, Stream, TryStream};

#[doc(no_inline)]
#[allow(unreachable_pub)]
pub use crate::future::{FutureExt as _, TryFutureExt as _};
#[doc(no_inline)]
pub use crate::sink::SinkExt as _;
#[doc(no_inline)]
#[allow(unreachable_pub)]
pub use crate::stream::{StreamExt as _, TryStreamExt as _};

#[cfg(feature = "std")]
pub use crate::io::{AsyncBufRead, AsyncRead, AsyncSeek, AsyncWrite};

#[cfg(feature = "std")]
#[doc(no_inline)]
#[allow(unreachable_pub)]
pub use crate::io::{
AsyncBufReadExt as _, AsyncReadExt as _, AsyncSeekExt as _, AsyncWriteExt as _,
};
Expand Down

0 comments on commit 28c5577

Please sign in to comment.