@@ -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" ) ]
@@ -3283,11 +3283,10 @@ pub trait Itertools: Iterator {
32833283 ///
32843284 /// See [`GroupingMap`] for more informations
32853285 /// on what operations are available.
3286- #[ cfg( feature = "use_std " ) ]
3286+ #[ cfg( feature = "use_alloc " ) ]
32873287 fn into_grouping_map < K , V > ( self ) -> GroupingMap < Self >
32883288 where
32893289 Self : Iterator < Item = ( K , V ) > + Sized ,
3290- K : Hash + Eq ,
32913290 {
32923291 grouping_map:: new ( self )
32933292 }
@@ -3300,11 +3299,10 @@ pub trait Itertools: Iterator {
33003299 ///
33013300 /// See [`GroupingMap`] for more informations
33023301 /// on what operations are available.
3303- #[ cfg( feature = "use_std " ) ]
3302+ #[ cfg( feature = "use_alloc " ) ]
33043303 fn into_grouping_map_by < K , V , F > ( self , key_mapper : F ) -> GroupingMapBy < Self , F >
33053304 where
33063305 Self : Iterator < Item = V > + Sized ,
3307- K : Hash + Eq ,
33083306 F : FnMut ( & V ) -> K ,
33093307 {
33103308 grouping_map:: new ( grouping_map:: new_map_for_grouping ( self , key_mapper) )
0 commit comments