@@ -65,6 +65,7 @@ pub use adaptors::{
65
65
Flatten ,
66
66
} ;
67
67
#[ cfg( feature = "unstable" ) ]
68
+ #[ cfg_attr( feature = "unstable" , deprecated( note = "Uses deprecated libstd traits" ) ) ]
68
69
pub use adaptors:: EnumerateFrom ;
69
70
pub use diff:: { diff_with, Diff } ;
70
71
pub use format:: { Format , FormatDefault } ;
@@ -73,20 +74,25 @@ pub use groupbylazy::{ChunksLazy, Chunk, Chunks, GroupByLazy, Group, Groups};
73
74
pub use intersperse:: Intersperse ;
74
75
pub use islice:: ISlice ;
75
76
pub use kmerge:: KMerge ;
77
+ #[ cfg_attr( feature = "unstable" , deprecated( note = "Will move to different crate" ) ) ]
76
78
pub use linspace:: { linspace, Linspace } ;
77
79
pub use minmax:: MinMaxResult ;
78
80
pub use pad_tail:: PadUsing ;
79
81
pub use rciter:: RcIter ;
80
82
pub use repeatn:: RepeatN ;
81
83
pub use sources:: { RepeatCall , Unfold } ;
84
+ #[ cfg_attr( feature = "unstable" , deprecated( note = "Will move to different crate" ) ) ]
82
85
pub use stride:: Stride ;
86
+ #[ cfg_attr( feature = "unstable" , deprecated( note = "Will move to different crate" ) ) ]
83
87
pub use stride:: StrideMut ;
84
88
pub use tee:: Tee ;
85
89
pub use zip_eq:: ZipEq ;
86
90
pub use zip_longest:: { ZipLongest , EitherOrBoth } ;
87
91
pub use ziptuple:: Zip ;
88
92
#[ cfg( feature = "unstable" ) ]
93
+ #[ cfg_attr( feature = "unstable" , deprecated( note = "Will move to different crate" ) ) ]
89
94
pub use ziptrusted:: { ZipTrusted , TrustedIterator } ;
95
+ #[ cfg_attr( feature = "unstable" , deprecated( note = "No longer has desired performance." ) ) ]
90
96
pub use zipslices:: ZipSlices ;
91
97
mod adaptors;
92
98
pub mod free;
@@ -630,6 +636,7 @@ pub trait Itertools : Iterator {
630
636
/// );
631
637
/// ```
632
638
#[ cfg( feature = "unstable" ) ]
639
+ #[ cfg_attr( feature = "unstable" , deprecated( note = "Uses deprecated libstd traits" ) ) ]
633
640
fn enumerate_from < K > ( self , start : K ) -> EnumerateFrom < Self , K >
634
641
where Self : Sized
635
642
{
@@ -1423,6 +1430,7 @@ pub trait Itertools : Iterator {
1423
1430
v
1424
1431
}
1425
1432
1433
+ #[ cfg_attr( feature = "unstable" , deprecated( note = "Replaced by .sorted_by()" ) ) ]
1426
1434
/// **Deprecated:** renamed to `.sorted_by()`
1427
1435
fn sort_by < F > ( self , cmp : F ) -> Vec < Self :: Item >
1428
1436
where Self : Sized ,
0 commit comments