Skip to content

Commit 7f5780a

Browse files
committed
Replace futures::stream::iter with our implementation in examples
1 parent 3884b30 commit 7f5780a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/stream.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#![feature(futures_api, async_await, await_macro)]
22

33
use futures_async_combinators::stream::*;
4-
use futures::{stream, executor};
4+
use futures::executor;
55

66
fn main() {
7-
let stream = stream::iter(1..=3);
7+
let stream = iter(1..=3);
88
let stream = map(stream, |x| x + 1);
99
let stream = map(stream, |x| x * 2);
1010

0 commit comments

Comments
 (0)