@@ -2051,8 +2051,6 @@ impl<T> [T] {
2051
2051
/// # Examples
2052
2052
///
2053
2053
/// ```
2054
- /// #![feature(split_at_checked)]
2055
- ///
2056
2054
/// let v = [1, -2, 3, -4, 5, -6];
2057
2055
///
2058
2056
/// {
@@ -2075,8 +2073,8 @@ impl<T> [T] {
2075
2073
///
2076
2074
/// assert_eq!(None, v.split_at_checked(7));
2077
2075
/// ```
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 " ) ]
2080
2078
#[ inline]
2081
2079
#[ must_use]
2082
2080
pub const fn split_at_checked ( & self , mid : usize ) -> Option < ( & [ T ] , & [ T ] ) > {
@@ -2102,8 +2100,6 @@ impl<T> [T] {
2102
2100
/// # Examples
2103
2101
///
2104
2102
/// ```
2105
- /// #![feature(split_at_checked)]
2106
- ///
2107
2103
/// let mut v = [1, 0, 3, 0, 5, 6];
2108
2104
///
2109
2105
/// if let Some((left, right)) = v.split_at_mut_checked(2) {
@@ -2116,8 +2112,8 @@ impl<T> [T] {
2116
2112
///
2117
2113
/// assert_eq!(None, v.split_at_mut_checked(7));
2118
2114
/// ```
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 " ) ]
2121
2117
#[ inline]
2122
2118
#[ must_use]
2123
2119
pub const fn split_at_mut_checked ( & mut self , mid : usize ) -> Option < ( & mut [ T ] , & mut [ T ] ) > {
0 commit comments