@@ -342,7 +342,6 @@ impl<T: ?Sized> *mut T {
342342 /// ```
343343 #[ inline]
344344 #[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
345- #[ rustc_const_unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
346345 pub const unsafe fn as_uninit_ref < ' a > ( self ) -> Option < & ' a MaybeUninit < T > >
347346 where
348347 T : Sized ,
@@ -676,7 +675,6 @@ impl<T: ?Sized> *mut T {
676675 /// the pointer is [convertible to a reference](crate::ptr#pointer-to-reference-conversion).
677676 #[ inline]
678677 #[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
679- #[ rustc_const_unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
680678 pub const unsafe fn as_uninit_mut < ' a > ( self ) -> Option < & ' a mut MaybeUninit < T > >
681679 where
682680 T : Sized ,
@@ -1762,7 +1760,6 @@ impl<T> *mut [T] {
17621760 ///
17631761 /// If `N` is not exactly equal to the length of `self`, then this method returns `None`.
17641762 #[ unstable( feature = "slice_as_array" , issue = "133508" ) ]
1765- #[ rustc_const_unstable( feature = "slice_as_array" , issue = "133508" ) ]
17661763 #[ inline]
17671764 #[ must_use]
17681765 pub const fn as_mut_array < const N : usize > ( self ) -> Option < * mut [ T ; N ] > {
@@ -1963,7 +1960,6 @@ impl<T> *mut [T] {
19631960 /// [allocated object]: crate::ptr#allocated-object
19641961 #[ inline]
19651962 #[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
1966- #[ rustc_const_unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
19671963 pub const unsafe fn as_uninit_slice < ' a > ( self ) -> Option < & ' a [ MaybeUninit < T > ] > {
19681964 if self . is_null ( ) {
19691965 None
@@ -2015,7 +2011,6 @@ impl<T> *mut [T] {
20152011 /// [allocated object]: crate::ptr#allocated-object
20162012 #[ inline]
20172013 #[ unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
2018- #[ rustc_const_unstable( feature = "ptr_as_uninit" , issue = "75402" ) ]
20192014 pub const unsafe fn as_uninit_slice_mut < ' a > ( self ) -> Option < & ' a mut [ MaybeUninit < T > ] > {
20202015 if self . is_null ( ) {
20212016 None
0 commit comments