@@ -1928,8 +1928,6 @@ impl<T> [T] {
1928
1928
/// # Examples
1929
1929
///
1930
1930
/// ```
1931
- /// #![feature(slice_split_at_unchecked)]
1932
- ///
1933
1931
/// let v = [1, 2, 3, 4, 5, 6];
1934
1932
///
1935
1933
/// unsafe {
@@ -1950,7 +1948,7 @@ impl<T> [T] {
1950
1948
/// assert_eq!(right, []);
1951
1949
/// }
1952
1950
/// ```
1953
- #[ unstable ( feature = "slice_split_at_unchecked" , reason = "new API" , issue = "76014 ") ]
1951
+ #[ stable ( feature = "slice_split_at_unchecked" , since = "CURRENT_RUSTC_VERSION " ) ]
1954
1952
#[ rustc_const_stable( feature = "const_slice_split_at_unchecked" , since = "1.77.0" ) ]
1955
1953
#[ inline]
1956
1954
#[ must_use]
@@ -1991,8 +1989,6 @@ impl<T> [T] {
1991
1989
/// # Examples
1992
1990
///
1993
1991
/// ```
1994
- /// #![feature(slice_split_at_unchecked)]
1995
- ///
1996
1992
/// let mut v = [1, 0, 3, 0, 5, 6];
1997
1993
/// // scoped to restrict the lifetime of the borrows
1998
1994
/// unsafe {
@@ -2004,7 +2000,7 @@ impl<T> [T] {
2004
2000
/// }
2005
2001
/// assert_eq!(v, [1, 2, 3, 4, 5, 6]);
2006
2002
/// ```
2007
- #[ unstable ( feature = "slice_split_at_unchecked" , reason = "new API" , issue = "76014 ") ]
2003
+ #[ stable ( feature = "slice_split_at_unchecked" , since = "CURRENT_RUSTC_VERSION " ) ]
2008
2004
#[ rustc_const_unstable( feature = "const_slice_split_at_mut" , issue = "101804" ) ]
2009
2005
#[ inline]
2010
2006
#[ must_use]
0 commit comments