@@ -2051,8 +2051,6 @@ impl<T> [T] {
20512051 /// # Examples
20522052 ///
20532053 /// ```
2054- /// #![feature(split_at_checked)]
2055- ///
20562054 /// let v = [1, -2, 3, -4, 5, -6];
20572055 ///
20582056 /// {
@@ -2075,8 +2073,8 @@ impl<T> [T] {
20752073 ///
20762074 /// assert_eq!(None, v.split_at_checked(7));
20772075 /// ```
2078- #[ unstable ( feature = "split_at_checked" , reason = "new API" , issue = "119128 ") ]
2079- #[ rustc_const_unstable ( feature = "split_at_checked" , issue = "119128 " ) ]
2076+ #[ stable ( feature = "split_at_checked" , since = "CURRENT_RUSTC_VERSION " ) ]
2077+ #[ rustc_const_stable ( feature = "split_at_checked" , since = "CURRENT_RUSTC_VERSION " ) ]
20802078 #[ inline]
20812079 #[ must_use]
20822080 pub const fn split_at_checked ( & self , mid : usize ) -> Option < ( & [ T ] , & [ T ] ) > {
@@ -2102,8 +2100,6 @@ impl<T> [T] {
21022100 /// # Examples
21032101 ///
21042102 /// ```
2105- /// #![feature(split_at_checked)]
2106- ///
21072103 /// let mut v = [1, 0, 3, 0, 5, 6];
21082104 ///
21092105 /// if let Some((left, right)) = v.split_at_mut_checked(2) {
@@ -2116,8 +2112,8 @@ impl<T> [T] {
21162112 ///
21172113 /// assert_eq!(None, v.split_at_mut_checked(7));
21182114 /// ```
2119- #[ unstable ( feature = "split_at_checked" , reason = "new API" , issue = "119128 ") ]
2120- #[ rustc_const_unstable( feature = "split_at_checked " , issue = "119128 " ) ]
2115+ #[ stable ( feature = "split_at_checked" , since = "CURRENT_RUSTC_VERSION " ) ]
2116+ #[ rustc_const_unstable( feature = "const_slice_split_at_mut " , issue = "101804 " ) ]
21212117 #[ inline]
21222118 #[ must_use]
21232119 pub const fn split_at_mut_checked ( & mut self , mid : usize ) -> Option < ( & mut [ T ] , & mut [ T ] ) > {
0 commit comments