File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -842,8 +842,8 @@ impl<T> *const [T] {
842842 /// assert_eq!(slice.as_ptr(), 0 as *const i8);
843843 /// ```
844844 #[ inline]
845- #[ unstable( feature = "slice_ptr_get" , issue = "none " ) ]
846- #[ rustc_const_unstable( feature = "slice_ptr_get" , issue = "none " ) ]
845+ #[ unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
846+ #[ rustc_const_unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
847847 pub const fn as_ptr ( self ) -> * const T {
848848 self as * const T
849849 }
@@ -867,7 +867,7 @@ impl<T> *const [T] {
867867 /// assert_eq!(x.get_unchecked(1), x.as_ptr().add(1));
868868 /// }
869869 /// ```
870- #[ unstable( feature = "slice_ptr_get" , issue = "none " ) ]
870+ #[ unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
871871 #[ inline]
872872 pub unsafe fn get_unchecked < I > ( self , index : I ) -> * const I :: Output
873873 where
Original file line number Diff line number Diff line change @@ -1043,8 +1043,8 @@ impl<T> *mut [T] {
10431043 /// assert_eq!(slice.as_mut_ptr(), 0 as *mut i8);
10441044 /// ```
10451045 #[ inline]
1046- #[ unstable( feature = "slice_ptr_get" , issue = "none " ) ]
1047- #[ rustc_const_unstable( feature = "slice_ptr_get" , issue = "none " ) ]
1046+ #[ unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
1047+ #[ rustc_const_unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
10481048 pub const fn as_mut_ptr ( self ) -> * mut T {
10491049 self as * mut T
10501050 }
@@ -1068,7 +1068,7 @@ impl<T> *mut [T] {
10681068 /// assert_eq!(x.get_unchecked_mut(1), x.as_mut_ptr().add(1));
10691069 /// }
10701070 /// ```
1071- #[ unstable( feature = "slice_ptr_get" , issue = "none " ) ]
1071+ #[ unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
10721072 #[ inline]
10731073 pub unsafe fn get_unchecked_mut < I > ( self , index : I ) -> * mut I :: Output
10741074 where
Original file line number Diff line number Diff line change @@ -217,8 +217,8 @@ impl<T> NonNull<[T]> {
217217 /// assert_eq!(slice.as_non_null_ptr(), NonNull::new(1 as *mut i8).unwrap());
218218 /// ```
219219 #[ inline]
220- #[ unstable( feature = "slice_ptr_get" , issue = "none " ) ]
221- #[ rustc_const_unstable( feature = "slice_ptr_get" , issue = "none " ) ]
220+ #[ unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
221+ #[ rustc_const_unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
222222 pub const fn as_non_null_ptr ( self ) -> NonNull < T > {
223223 // SAFETY: We know `self` is non-null.
224224 unsafe { NonNull :: new_unchecked ( self . as_ptr ( ) . as_mut_ptr ( ) ) }
@@ -245,7 +245,7 @@ impl<T> NonNull<[T]> {
245245 /// assert_eq!(x.get_unchecked_mut(1).as_ptr(), x.as_non_null_ptr().as_ptr().add(1));
246246 /// }
247247 /// ```
248- #[ unstable( feature = "slice_ptr_get" , issue = "none " ) ]
248+ #[ unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
249249 #[ inline]
250250 pub unsafe fn get_unchecked_mut < I > ( self , index : I ) -> NonNull < I :: Output >
251251 where
You can’t perform that action at this time.
0 commit comments