@@ -106,7 +106,7 @@ pub mod structs {
106106 pub use crate :: groupbylazy:: GroupBy ;
107107 #[ cfg( feature = "use_alloc" ) ]
108108 pub use crate :: groupbylazy:: { Chunk , ChunkBy , Chunks , Group , Groups , IntoChunks } ;
109- #[ cfg( feature = "use_std " ) ]
109+ #[ cfg( feature = "use_alloc " ) ]
110110 pub use crate :: grouping_map:: { GroupingMap , GroupingMapBy } ;
111111 pub use crate :: intersperse:: { Intersperse , IntersperseWith } ;
112112 #[ cfg( feature = "use_alloc" ) ]
@@ -191,7 +191,7 @@ mod generic_containers;
191191mod group_map;
192192#[ cfg( feature = "use_alloc" ) ]
193193mod groupbylazy;
194- #[ cfg( feature = "use_std " ) ]
194+ #[ cfg( feature = "use_alloc " ) ]
195195mod grouping_map;
196196mod intersperse;
197197#[ cfg( feature = "use_alloc" ) ]
@@ -3272,11 +3272,10 @@ pub trait Itertools: Iterator {
32723272 ///
32733273 /// See [`GroupingMap`] for more informations
32743274 /// on what operations are available.
3275- #[ cfg( feature = "use_std " ) ]
3275+ #[ cfg( feature = "use_alloc " ) ]
32763276 fn into_grouping_map < K , V > ( self ) -> GroupingMap < Self >
32773277 where
32783278 Self : Iterator < Item = ( K , V ) > + Sized ,
3279- K : Hash + Eq ,
32803279 {
32813280 grouping_map:: new ( self )
32823281 }
@@ -3289,11 +3288,10 @@ pub trait Itertools: Iterator {
32893288 ///
32903289 /// See [`GroupingMap`] for more informations
32913290 /// on what operations are available.
3292- #[ cfg( feature = "use_std " ) ]
3291+ #[ cfg( feature = "use_alloc " ) ]
32933292 fn into_grouping_map_by < K , V , F > ( self , key_mapper : F ) -> GroupingMapBy < Self , F >
32943293 where
32953294 Self : Iterator < Item = V > + Sized ,
3296- K : Hash + Eq ,
32973295 F : FnMut ( & V ) -> K ,
32983296 {
32993297 grouping_map:: new ( grouping_map:: new_map_for_grouping ( self , key_mapper) )
0 commit comments