Skip to content

Commit c5564ed

Browse files
committed
Make all extension traits unnamed in the prelude
1 parent 6a69c0f commit c5564ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

futures/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,14 +326,14 @@ pub mod prelude {
326326
//!
327327
//! The prelude may grow over time as additional items see ubiquitous use.
328328
329-
pub use crate::future::{self, Future, TryFuture, FutureExt, TryFutureExt};
330-
pub use crate::stream::{self, Stream, TryStream, StreamExt, TryStreamExt};
331-
pub use crate::sink::{self, Sink, SinkExt};
329+
pub use crate::future::{self, Future, TryFuture, FutureExt as _, TryFutureExt as _};
330+
pub use crate::stream::{self, Stream, TryStream, StreamExt as _, TryStreamExt as _};
331+
pub use crate::sink::{self, Sink, SinkExt as _};
332332

333333
#[cfg(feature = "std")]
334334
pub use crate::io::{
335335
AsyncRead, AsyncWrite, AsyncSeek, AsyncBufRead,
336-
AsyncReadExt, AsyncWriteExt, AsyncSeekExt, AsyncBufReadExt,
336+
AsyncReadExt as _, AsyncWriteExt as _, AsyncSeekExt as _, AsyncBufReadExt as _,
337337
};
338338
}
339339

0 commit comments

Comments
 (0)