use async_std::stream

poc-serde-support
yjh 5 years ago committed by GitHub
parent a35602f375
commit 5179f30d2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save