Skip to content

Commit 93463e8

Browse files
committed
export SkipWhile type
1 parent f9f97c4 commit 93463e8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/stream/stream/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ mod zip;
3939

4040
pub use fuse::Fuse;
4141
pub use scan::Scan;
42+
pub use skip_while::SkipWhile;
4243
pub use take::Take;
4344
pub use zip::Zip;
4445

@@ -52,7 +53,6 @@ use fold::FoldFuture;
5253
use min_by::MinByFuture;
5354
use next::NextFuture;
5455
use nth::NthFuture;
55-
use skip_while::SkipWhile;
5656

5757
use std::cmp::Ordering;
5858
use std::marker::PhantomData;

src/stream/stream/skip_while.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use std::pin::Pin;
44
use crate::stream::Stream;
55
use crate::task::{Context, Poll};
66

7-
#[doc(hidden)]
8-
#[allow(missing_debug_implementations)]
7+
/// A stream to skip elements of another stream based on a predicate.
8+
#[derive(Debug)]
99
pub struct SkipWhile<S, P, T> {
1010
stream: S,
1111
predicate: Option<P>,

0 commit comments

Comments
 (0)