2
0
Fork 1
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:
yjh 2019-11-05 21:15:33 +08:00 committed by GitHub
parent a35602f375
commit 5179f30d2d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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]);