mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-02 22:46:42 +00:00
Update mod.rs
This commit is contained in:
parent
e85bbe68e6
commit
a35602f375
1 changed files with 3 additions and 3 deletions
|
@ -387,7 +387,7 @@ extension_trait! {
|
|||
use async_std::prelude::*;
|
||||
use std::collections::VecDeque;
|
||||
|
||||
let v: VecDeque<_> = vec![&1, &2, &3].into_iter().collect();
|
||||
let v = stream::from_iter(vec![&1, &2, &3]);
|
||||
|
||||
let mut v_cloned = v.cloned();
|
||||
|
||||
|
|
Loading…
Reference in a new issue