forked from mirror/async-std
fix doc tests (#431)
* fix doc tests Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com> * cargo fmt Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
parent
57670dd9d7
commit
a3b742188d
2 changed files with 2 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
use std::cmp::{Ord, Ordering};
|
||||
use std::marker::PhantomData;
|
||||
use std::cmp::{Ordering, Ord};
|
||||
use std::pin::Pin;
|
||||
|
||||
use pin_project_lite::pin_project;
|
||||
|
|
|
@ -774,11 +774,10 @@ extension_trait! {
|
|||
|
||||
# Examples
|
||||
|
||||
```
|
||||
```ignore
|
||||
# fn main() { async_std::task::block_on(async {
|
||||
#
|
||||
use std::collections::VecDeque;
|
||||
|
||||
use async_std::prelude::*;
|
||||
|
||||
let s: VecDeque<usize> = vec![1, 2, 3].into_iter().collect();
|
||||
|
|
Loading…
Reference in a new issue