mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-19 20:13:51 +00:00
use async_std::stream
This commit is contained in:
parent
a35602f375
commit
5179f30d2d
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ extension_trait! {
|
||||||
# fn main() { async_std::task::block_on(async {
|
# fn main() { async_std::task::block_on(async {
|
||||||
#
|
#
|
||||||
use async_std::prelude::*;
|
use async_std::prelude::*;
|
||||||
use std::collections::VecDeque;
|
use async_std::stream;
|
||||||
|
|
||||||
let v = stream::from_iter(vec![&1, &2, &3]);
|
let v = stream::from_iter(vec![&1, &2, &3]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue