@@ -73,7 +73,7 @@ pub trait TryStreamExt: TryStream {
73
73
/// # Examples
74
74
///
75
75
/// ```
76
- /// #![feature(async_await, await_macro)]
76
+ /// #![feature(async_await, await_macro, futures_api )]
77
77
/// # futures::executor::block_on(async {
78
78
/// use futures::stream::{self, TryStreamExt};
79
79
///
@@ -99,7 +99,7 @@ pub trait TryStreamExt: TryStream {
99
99
/// # Examples
100
100
///
101
101
/// ```
102
- /// #![feature(async_await, await_macro)]
102
+ /// #![feature(async_await, await_macro, futures_api )]
103
103
/// # futures::executor::block_on(async {
104
104
/// use futures::stream::{self, TryStreamExt};
105
105
///
@@ -125,7 +125,7 @@ pub trait TryStreamExt: TryStream {
125
125
/// # Examples
126
126
///
127
127
/// ```
128
- /// #![feature(async_await, await_macro)]
128
+ /// #![feature(async_await, await_macro, futures_api )]
129
129
/// # futures::executor::block_on(async {
130
130
/// use futures::stream::{self, TryStreamExt};
131
131
///
@@ -183,7 +183,7 @@ pub trait TryStreamExt: TryStream {
183
183
/// # Examples
184
184
///
185
185
/// ```
186
- /// #![feature(async_await, await_macro)]
186
+ /// #![feature(async_await, await_macro, futures_api )]
187
187
/// # futures::executor::block_on(async {
188
188
/// use futures::stream::{self, TryStreamExt};
189
189
///
@@ -215,7 +215,7 @@ pub trait TryStreamExt: TryStream {
215
215
/// # Examples
216
216
///
217
217
/// ```
218
- /// #![feature(async_await, await_macro)]
218
+ /// #![feature(async_await, await_macro, futures_api )]
219
219
/// # futures::executor::block_on(async {
220
220
/// use futures::future;
221
221
/// use futures::stream::{self, TryStreamExt};
@@ -250,7 +250,7 @@ pub trait TryStreamExt: TryStream {
250
250
/// # Examples
251
251
///
252
252
/// ```
253
- /// #![feature(async_await, await_macro)]
253
+ /// #![feature(async_await, await_macro, futures_api )]
254
254
/// # futures::executor::block_on(async {
255
255
/// use futures::future;
256
256
/// use futures::stream::{self, TryStreamExt};
@@ -285,7 +285,7 @@ pub trait TryStreamExt: TryStream {
285
285
/// # Examples
286
286
///
287
287
/// ```
288
- /// #![feature(async_await, await_macro)]
288
+ /// #![feature(async_await, await_macro, futures_api )]
289
289
/// # futures::executor::block_on(async {
290
290
/// use futures::channel::oneshot;
291
291
/// use futures::stream::{self, StreamExt, TryStreamExt};
@@ -340,7 +340,7 @@ pub trait TryStreamExt: TryStream {
340
340
/// # Examples
341
341
///
342
342
/// ```
343
- /// #![feature(async_await, await_macro)]
343
+ /// #![feature(async_await, await_macro, futures_api )]
344
344
/// # futures::executor::block_on(async {
345
345
/// use futures::channel::mpsc;
346
346
/// use futures::executor::block_on;
@@ -384,7 +384,7 @@ pub trait TryStreamExt: TryStream {
384
384
///
385
385
/// # Examples
386
386
/// ```
387
- /// #![feature(async_await, await_macro)]
387
+ /// #![feature(async_await, await_macro, futures_api )]
388
388
/// # futures::executor::block_on(async {
389
389
/// use futures::executor::block_on;
390
390
/// use futures::future;
@@ -425,7 +425,7 @@ pub trait TryStreamExt: TryStream {
425
425
/// # Examples
426
426
///
427
427
/// ```
428
- /// #![feature(async_await, await_macro)]
428
+ /// #![feature(async_await, await_macro, futures_api )]
429
429
/// # futures::executor::block_on(async {
430
430
/// use futures::future;
431
431
/// use futures::stream::{self, TryStreamExt};
@@ -508,7 +508,7 @@ pub trait TryStreamExt: TryStream {
508
508
///
509
509
/// Results are returned in the order of completion:
510
510
/// ```
511
- /// #![feature(async_await, await_macro)]
511
+ /// #![feature(async_await, await_macro, futures_api )]
512
512
/// # futures::executor::block_on(async {
513
513
/// use futures::channel::oneshot;
514
514
/// use futures::stream::{self, StreamExt, TryStreamExt};
@@ -532,7 +532,7 @@ pub trait TryStreamExt: TryStream {
532
532
///
533
533
/// Errors from the underlying stream itself are propagated:
534
534
/// ```
535
- /// #![feature(async_await, await_macro)]
535
+ /// #![feature(async_await, await_macro, futures_api )]
536
536
/// # futures::executor::block_on(async {
537
537
/// use futures::channel::mpsc;
538
538
/// use futures::future;
@@ -605,7 +605,7 @@ pub trait TryStreamExt: TryStream {
605
605
/// # Examples
606
606
///
607
607
/// ```
608
- /// #![feature(async_await, await_macro)]
608
+ /// #![feature(async_await, await_macro, futures_api )]
609
609
/// # futures::executor::block_on(async {
610
610
/// use futures::executor::block_on;
611
611
/// use futures::future::lazy;
0 commit comments