Skip to content

Commit 446134c

Browse files
taiki-ecramertj
authored andcommitted
Fix broken CI
1 parent 778e616 commit 446134c

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

futures-util/src/stream/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ pub trait StreamExt: Stream {
593593
/// # Examples
594594
///
595595
/// ```
596-
/// #![feature(async_await, await_macro)]
596+
/// #![feature(async_await, await_macro, futures_api)]
597597
/// # futures::executor::block_on(async {
598598
/// use futures::channel::oneshot;
599599
/// use futures::stream::{self, StreamExt};
@@ -834,7 +834,7 @@ pub trait StreamExt: Stream {
834834
/// # Examples
835835
///
836836
/// ```
837-
/// #![feature(async_await, await_macro)]
837+
/// #![feature(async_await, await_macro, futures_api)]
838838
/// # futures::executor::block_on(async {
839839
/// use futures::channel::oneshot;
840840
/// use futures::stream::{self, StreamExt};

futures-util/src/try_stream/mod.rs

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub trait TryStreamExt: TryStream {
7373
/// # Examples
7474
///
7575
/// ```
76-
/// #![feature(async_await, await_macro)]
76+
/// #![feature(async_await, await_macro, futures_api)]
7777
/// # futures::executor::block_on(async {
7878
/// use futures::stream::{self, TryStreamExt};
7979
///
@@ -99,7 +99,7 @@ pub trait TryStreamExt: TryStream {
9999
/// # Examples
100100
///
101101
/// ```
102-
/// #![feature(async_await, await_macro)]
102+
/// #![feature(async_await, await_macro, futures_api)]
103103
/// # futures::executor::block_on(async {
104104
/// use futures::stream::{self, TryStreamExt};
105105
///
@@ -125,7 +125,7 @@ pub trait TryStreamExt: TryStream {
125125
/// # Examples
126126
///
127127
/// ```
128-
/// #![feature(async_await, await_macro)]
128+
/// #![feature(async_await, await_macro, futures_api)]
129129
/// # futures::executor::block_on(async {
130130
/// use futures::stream::{self, TryStreamExt};
131131
///
@@ -183,7 +183,7 @@ pub trait TryStreamExt: TryStream {
183183
/// # Examples
184184
///
185185
/// ```
186-
/// #![feature(async_await, await_macro)]
186+
/// #![feature(async_await, await_macro, futures_api)]
187187
/// # futures::executor::block_on(async {
188188
/// use futures::stream::{self, TryStreamExt};
189189
///
@@ -215,7 +215,7 @@ pub trait TryStreamExt: TryStream {
215215
/// # Examples
216216
///
217217
/// ```
218-
/// #![feature(async_await, await_macro)]
218+
/// #![feature(async_await, await_macro, futures_api)]
219219
/// # futures::executor::block_on(async {
220220
/// use futures::future;
221221
/// use futures::stream::{self, TryStreamExt};
@@ -250,7 +250,7 @@ pub trait TryStreamExt: TryStream {
250250
/// # Examples
251251
///
252252
/// ```
253-
/// #![feature(async_await, await_macro)]
253+
/// #![feature(async_await, await_macro, futures_api)]
254254
/// # futures::executor::block_on(async {
255255
/// use futures::future;
256256
/// use futures::stream::{self, TryStreamExt};
@@ -285,7 +285,7 @@ pub trait TryStreamExt: TryStream {
285285
/// # Examples
286286
///
287287
/// ```
288-
/// #![feature(async_await, await_macro)]
288+
/// #![feature(async_await, await_macro, futures_api)]
289289
/// # futures::executor::block_on(async {
290290
/// use futures::channel::oneshot;
291291
/// use futures::stream::{self, StreamExt, TryStreamExt};
@@ -340,7 +340,7 @@ pub trait TryStreamExt: TryStream {
340340
/// # Examples
341341
///
342342
/// ```
343-
/// #![feature(async_await, await_macro)]
343+
/// #![feature(async_await, await_macro, futures_api)]
344344
/// # futures::executor::block_on(async {
345345
/// use futures::channel::mpsc;
346346
/// use futures::executor::block_on;
@@ -384,7 +384,7 @@ pub trait TryStreamExt: TryStream {
384384
///
385385
/// # Examples
386386
/// ```
387-
/// #![feature(async_await, await_macro)]
387+
/// #![feature(async_await, await_macro, futures_api)]
388388
/// # futures::executor::block_on(async {
389389
/// use futures::executor::block_on;
390390
/// use futures::future;
@@ -425,7 +425,7 @@ pub trait TryStreamExt: TryStream {
425425
/// # Examples
426426
///
427427
/// ```
428-
/// #![feature(async_await, await_macro)]
428+
/// #![feature(async_await, await_macro, futures_api)]
429429
/// # futures::executor::block_on(async {
430430
/// use futures::future;
431431
/// use futures::stream::{self, TryStreamExt};
@@ -508,7 +508,7 @@ pub trait TryStreamExt: TryStream {
508508
///
509509
/// Results are returned in the order of completion:
510510
/// ```
511-
/// #![feature(async_await, await_macro)]
511+
/// #![feature(async_await, await_macro, futures_api)]
512512
/// # futures::executor::block_on(async {
513513
/// use futures::channel::oneshot;
514514
/// use futures::stream::{self, StreamExt, TryStreamExt};
@@ -532,7 +532,7 @@ pub trait TryStreamExt: TryStream {
532532
///
533533
/// Errors from the underlying stream itself are propagated:
534534
/// ```
535-
/// #![feature(async_await, await_macro)]
535+
/// #![feature(async_await, await_macro, futures_api)]
536536
/// # futures::executor::block_on(async {
537537
/// use futures::channel::mpsc;
538538
/// use futures::future;
@@ -605,7 +605,7 @@ pub trait TryStreamExt: TryStream {
605605
/// # Examples
606606
///
607607
/// ```
608-
/// #![feature(async_await, await_macro)]
608+
/// #![feature(async_await, await_macro, futures_api)]
609609
/// # futures::executor::block_on(async {
610610
/// use futures::executor::block_on;
611611
/// use futures::future::lazy;

0 commit comments

Comments
 (0)