Skip to content

Commit

Permalink
fix doc tests (#431)
Browse files Browse the repository at this point in the history
* fix doc tests

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>

* cargo fmt

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
  • Loading branch information
yoshuawuyts authored and Stjepan Glavina committed Nov 1, 2019
1 parent 57670dd commit a3b7421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/stream/stream/min.rs
@@ -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;
Expand Down
3 changes: 1 addition & 2 deletions src/stream/stream/mod.rs
Expand Up @@ -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();
Expand Down

0 comments on commit a3b7421

Please sign in to comment.