diff --git a/futures-util/src/stream/mod.rs b/futures-util/src/stream/mod.rs index 6d0765cdef..c358a80c8b 100644 --- a/futures-util/src/stream/mod.rs +++ b/futures-util/src/stream/mod.rs @@ -407,7 +407,8 @@ pub trait StreamExt: Stream { /// /// # Examples /// - /// ``` + // TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657 + /// ```ignore /// #![feature(async_await)] /// # futures::executor::block_on(async { /// use futures::channel::mpsc; @@ -444,7 +445,8 @@ pub trait StreamExt: Stream { /// /// # Examples /// - /// ``` + // TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657 + /// ```ignore /// #![feature(async_await)] /// # futures::executor::block_on(async { /// use futures::channel::mpsc; @@ -507,7 +509,8 @@ pub trait StreamExt: Stream { /// /// # Examples /// - /// ``` + // TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657 + /// ```ignore /// #![feature(async_await)] /// # futures::executor::block_on(async { /// use futures::channel::mpsc; diff --git a/futures-util/src/try_stream/mod.rs b/futures-util/src/try_stream/mod.rs index c094cd125f..048382a4fc 100644 --- a/futures-util/src/try_stream/mod.rs +++ b/futures-util/src/try_stream/mod.rs @@ -449,7 +449,8 @@ pub trait TryStreamExt: TryStream { /// /// # Examples /// - /// ``` + // TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657 + /// ```ignore /// #![feature(async_await)] /// # futures::executor::block_on(async { /// use futures::channel::mpsc; @@ -607,7 +608,8 @@ pub trait TryStreamExt: TryStream { /// /// # Examples /// - /// ``` + // TODO: https://github.com/rust-lang-nursery/futures-rs/issues/1657 + /// ```ignore /// #![feature(async_await)] /// # futures::executor::block_on(async { /// use futures::channel::mpsc;