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:
Yoshua Wuyts 2019-11-01 12:54:43 +01:00 committed by Stjepan Glavina
parent 57670dd9d7
commit a3b742188d
2 changed files with 2 additions and 3 deletions

View file

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

View file

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