mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-31 17:55:35 +00:00
export Skip type
This commit is contained in:
parent
570329b176
commit
75da138696
2 changed files with 3 additions and 3 deletions
|
@ -39,6 +39,7 @@ mod zip;
|
|||
|
||||
pub use fuse::Fuse;
|
||||
pub use scan::Scan;
|
||||
use skip::Skip;
|
||||
pub use take::Take;
|
||||
pub use zip::Zip;
|
||||
|
||||
|
@ -52,7 +53,6 @@ use fold::FoldFuture;
|
|||
use min_by::MinByFuture;
|
||||
use next::NextFuture;
|
||||
use nth::NthFuture;
|
||||
use skip::Skip;
|
||||
|
||||
use std::cmp::Ordering;
|
||||
use std::marker::PhantomData;
|
||||
|
|
|
@ -3,8 +3,8 @@ use std::task::{Context, Poll};
|
|||
|
||||
use crate::stream::Stream;
|
||||
|
||||
#[doc(hidden)]
|
||||
#[allow(missing_debug_implementations)]
|
||||
/// A stream to skip first n elements of another stream.
|
||||
#[derive(Debug)]
|
||||
pub struct Skip<S> {
|
||||
stream: S,
|
||||
n: usize,
|
||||
|
|
Loading…
Reference in a new issue