@@ -177,7 +177,7 @@ mod diff;
177
177
#[ cfg( feature = "use_std" ) ]
178
178
mod duplicates_impl;
179
179
mod exactly_one_err;
180
- #[ cfg( feature = "use_std " ) ]
180
+ #[ cfg( feature = "use_alloc " ) ]
181
181
mod extrema_set;
182
182
mod flatten_ok;
183
183
mod format;
@@ -3169,7 +3169,7 @@ pub trait Itertools: Iterator {
3169
3169
///
3170
3170
/// The elements can be floats but no particular result is guaranteed
3171
3171
/// if an element is NaN.
3172
- #[ cfg( feature = "use_std " ) ]
3172
+ #[ cfg( feature = "use_alloc " ) ]
3173
3173
fn min_set ( self ) -> Vec < Self :: Item >
3174
3174
where
3175
3175
Self : Sized ,
@@ -3202,7 +3202,7 @@ pub trait Itertools: Iterator {
3202
3202
///
3203
3203
/// The elements can be floats but no particular result is guaranteed
3204
3204
/// if an element is NaN.
3205
- #[ cfg( feature = "use_std " ) ]
3205
+ #[ cfg( feature = "use_alloc " ) ]
3206
3206
fn min_set_by < F > ( self , mut compare : F ) -> Vec < Self :: Item >
3207
3207
where
3208
3208
Self : Sized ,
@@ -3234,7 +3234,7 @@ pub trait Itertools: Iterator {
3234
3234
///
3235
3235
/// The elements can be floats but no particular result is guaranteed
3236
3236
/// if an element is NaN.
3237
- #[ cfg( feature = "use_std " ) ]
3237
+ #[ cfg( feature = "use_alloc " ) ]
3238
3238
fn min_set_by_key < K , F > ( self , key : F ) -> Vec < Self :: Item >
3239
3239
where
3240
3240
Self : Sized ,
@@ -3266,7 +3266,7 @@ pub trait Itertools: Iterator {
3266
3266
///
3267
3267
/// The elements can be floats but no particular result is guaranteed
3268
3268
/// if an element is NaN.
3269
- #[ cfg( feature = "use_std " ) ]
3269
+ #[ cfg( feature = "use_alloc " ) ]
3270
3270
fn max_set ( self ) -> Vec < Self :: Item >
3271
3271
where
3272
3272
Self : Sized ,
@@ -3299,7 +3299,7 @@ pub trait Itertools: Iterator {
3299
3299
///
3300
3300
/// The elements can be floats but no particular result is guaranteed
3301
3301
/// if an element is NaN.
3302
- #[ cfg( feature = "use_std " ) ]
3302
+ #[ cfg( feature = "use_alloc " ) ]
3303
3303
fn max_set_by < F > ( self , mut compare : F ) -> Vec < Self :: Item >
3304
3304
where
3305
3305
Self : Sized ,
@@ -3331,7 +3331,7 @@ pub trait Itertools: Iterator {
3331
3331
///
3332
3332
/// The elements can be floats but no particular result is guaranteed
3333
3333
/// if an element is NaN.
3334
- #[ cfg( feature = "use_std " ) ]
3334
+ #[ cfg( feature = "use_alloc " ) ]
3335
3335
fn max_set_by_key < K , F > ( self , key : F ) -> Vec < Self :: Item >
3336
3336
where
3337
3337
Self : Sized ,
0 commit comments