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 {
#
use async_std::prelude::*;
use std::collections::VecDeque;
use async_std::stream;
let v = stream::from_iter(vec![&1, &2, &3]);