Skip to content

Commit a3b7421

Browse files
yoshuawuytsStjepan Glavina
authored and
Stjepan Glavina
committed
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>
1 parent 57670dd commit a3b7421

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/stream/stream/min.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
use std::cmp::{Ord, Ordering};
12
use std::marker::PhantomData;
2-
use std::cmp::{Ordering, Ord};
33
use std::pin::Pin;
44

55
use pin_project_lite::pin_project;

src/stream/stream/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -774,11 +774,10 @@ extension_trait! {
774774
775775
# Examples
776776
777-
```
777+
```ignore
778778
# fn main() { async_std::task::block_on(async {
779779
#
780780
use std::collections::VecDeque;
781-
782781
use async_std::prelude::*;
783782
784783
let s: VecDeque<usize> = vec![1, 2, 3].into_iter().collect();

0 commit comments

Comments
 (0)