File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ use crate::task::{Context, Poll};
99pin_project ! {
1010 #[ doc( hidden) ]
1111 #[ allow( missing_debug_implementations) ]
12+ #[ cfg( all( feature = "default" , feature = "unstable" ) ) ]
13+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
1214 pub struct CountFuture <S > {
1315 #[ pin]
1416 stream: S ,
Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ mod any;
2626mod chain;
2727mod cloned;
2828mod cmp;
29- mod count;
3029mod copied;
3130mod cycle;
3231mod enumerate;
@@ -69,7 +68,6 @@ mod zip;
6968use all:: AllFuture ;
7069use any:: AnyFuture ;
7170use cmp:: CmpFuture ;
72- use count:: CountFuture ;
7371use cycle:: Cycle ;
7472use enumerate:: Enumerate ;
7573use eq:: EqFuture ;
@@ -123,12 +121,14 @@ cfg_unstable! {
123121 use crate :: stream:: into_stream:: IntoStream ;
124122 use crate :: stream:: { FromStream , Product , Sum } ;
125123
124+ use count:: CountFuture ;
126125 pub use merge:: Merge ;
127126 pub use flatten:: Flatten ;
128127 pub use flat_map:: FlatMap ;
129128 pub use timeout:: { TimeoutError , Timeout } ;
130129 pub use throttle:: Throttle ;
131130
131+ mod count;
132132 mod merge;
133133 mod flatten;
134134 mod flat_map;
@@ -1911,6 +1911,8 @@ extension_trait! {
19111911 # }) }
19121912 ```
19131913 "# ]
1914+ #[ cfg( feature = "unstable" ) ]
1915+ #[ cfg_attr( feature = "docs" , doc( cfg( unstable) ) ) ]
19141916 fn count( self ) -> impl Future <Output = usize > [ CountFuture <Self >]
19151917 where
19161918 Self : Sized ,
You can’t perform that action at this time.
0 commit comments