File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ use std::pin::Pin;
44use crate :: stream:: Stream ;
55use crate :: task:: { Context , Poll } ;
66
7- # [ doc ( hidden ) ]
8- #[ allow ( missing_debug_implementations ) ]
7+ /// A stream to filter elements of another stream with a predicate.
8+ #[ derive ( Debug ) ]
99pub struct Filter < S , P , T > {
1010 stream : S ,
1111 predicate : P ,
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ mod scan;
3737mod take;
3838mod zip;
3939
40+ pub use filter:: Filter ;
4041pub use fuse:: Fuse ;
4142pub use scan:: Scan ;
4243pub use take:: Take ;
@@ -45,7 +46,6 @@ pub use zip::Zip;
4546use all:: AllFuture ;
4647use any:: AnyFuture ;
4748use enumerate:: Enumerate ;
48- use filter:: Filter ;
4949use filter_map:: FilterMap ;
5050use find:: FindFuture ;
5151use find_map:: FindMapFuture ;
You can’t perform that action at this time.
0 commit comments