@@ -3951,16 +3951,14 @@ pub trait Iterator {
39513951 /// # Examples
39523952 ///
39533953 /// ```
3954- /// #![feature(is_sorted)]
3955- ///
39563954 /// assert!([1, 2, 2, 9].iter().is_sorted());
39573955 /// assert!(![1, 3, 2, 4].iter().is_sorted());
39583956 /// assert!([0].iter().is_sorted());
39593957 /// assert!(std::iter::empty::<i32>().is_sorted());
39603958 /// assert!(![0.0, 1.0, f32::NAN].iter().is_sorted());
39613959 /// ```
39623960 #[ inline]
3963- #[ unstable ( feature = "is_sorted" , reason = "new API" , issue = "53485 ") ]
3961+ #[ stable ( feature = "is_sorted" , since = "CURRENT_RUSTC_VERSION " ) ]
39643962 #[ rustc_do_not_const_check]
39653963 fn is_sorted ( self ) -> bool
39663964 where
@@ -3978,8 +3976,6 @@ pub trait Iterator {
39783976 /// # Examples
39793977 ///
39803978 /// ```
3981- /// #![feature(is_sorted)]
3982- ///
39833979 /// assert!([1, 2, 2, 9].iter().is_sorted_by(|a, b| a <= b));
39843980 /// assert!(![1, 2, 2, 9].iter().is_sorted_by(|a, b| a < b));
39853981 ///
@@ -3989,7 +3985,7 @@ pub trait Iterator {
39893985 /// assert!(std::iter::empty::<i32>().is_sorted_by(|a, b| false));
39903986 /// assert!(std::iter::empty::<i32>().is_sorted_by(|a, b| true));
39913987 /// ```
3992- #[ unstable ( feature = "is_sorted" , reason = "new API" , issue = "53485 ") ]
3988+ #[ stable ( feature = "is_sorted" , since = "CURRENT_RUSTC_VERSION " ) ]
39933989 #[ rustc_do_not_const_check]
39943990 fn is_sorted_by < F > ( mut self , compare : F ) -> bool
39953991 where
@@ -4030,13 +4026,11 @@ pub trait Iterator {
40304026 /// # Examples
40314027 ///
40324028 /// ```
4033- /// #![feature(is_sorted)]
4034- ///
40354029 /// assert!(["c", "bb", "aaa"].iter().is_sorted_by_key(|s| s.len()));
40364030 /// assert!(![-2i32, -1, 0, 3].iter().is_sorted_by_key(|n| n.abs()));
40374031 /// ```
40384032 #[ inline]
4039- #[ unstable ( feature = "is_sorted" , reason = "new API" , issue = "53485 ") ]
4033+ #[ stable ( feature = "is_sorted" , since = "CURRENT_RUSTC_VERSION " ) ]
40404034 #[ rustc_do_not_const_check]
40414035 fn is_sorted_by_key < F , K > ( self , f : F ) -> bool
40424036 where
0 commit comments