@@ -342,7 +342,6 @@ impl<T: ?Sized> *mut T {
342
342
/// ```
343
343
#[ inline]
344
344
#[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
345
- #[ rustc_const_unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
346
345
pub const unsafe fn as_uninit_ref < ' a > ( self ) -> Option < & ' a MaybeUninit < T > >
347
346
where
348
347
T : Sized ,
@@ -676,7 +675,6 @@ impl<T: ?Sized> *mut T {
676
675
/// the pointer is [convertible to a reference](crate::ptr#pointer-to-reference-conversion).
677
676
#[ inline]
678
677
#[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
679
- #[ rustc_const_unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
680
678
pub const unsafe fn as_uninit_mut < ' a > ( self ) -> Option < & ' a mut MaybeUninit < T > >
681
679
where
682
680
T : Sized ,
@@ -1762,7 +1760,6 @@ impl<T> *mut [T] {
1762
1760
///
1763
1761
/// If `N` is not exactly equal to the length of `self`, then this method returns `None`.
1764
1762
#[ unstable( feature = "slice_as_array" , issue = "133508" ) ]
1765
- #[ rustc_const_unstable( feature = "slice_as_array" , issue = "133508" ) ]
1766
1763
#[ inline]
1767
1764
#[ must_use]
1768
1765
pub const fn as_mut_array < const N : usize > ( self ) -> Option < * mut [ T ; N ] > {
@@ -1963,7 +1960,6 @@ impl<T> *mut [T] {
1963
1960
/// [allocated object]: crate::ptr#allocated-object
1964
1961
#[ inline]
1965
1962
#[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
1966
- #[ rustc_const_unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
1967
1963
pub const unsafe fn as_uninit_slice < ' a > ( self ) -> Option < & ' a [ MaybeUninit < T > ] > {
1968
1964
if self . is_null ( ) {
1969
1965
None
@@ -2015,7 +2011,6 @@ impl<T> *mut [T] {
2015
2011
/// [allocated object]: crate::ptr#allocated-object
2016
2012
#[ inline]
2017
2013
#[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
2018
- #[ rustc_const_unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
2019
2014
pub const unsafe fn as_uninit_slice_mut < ' a > ( self ) -> Option < & ' a mut [ MaybeUninit < T > ] > {
2020
2015
if self . is_null ( ) {
2021
2016
None
0 commit comments