File tree 3 files changed +9
-9
lines changed
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] {
842
842
/// assert_eq!(slice.as_ptr(), 0 as *const i8);
843
843
/// ```
844
844
#[ 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 " ) ]
847
847
pub const fn as_ptr ( self ) -> * const T {
848
848
self as * const T
849
849
}
@@ -867,7 +867,7 @@ impl<T> *const [T] {
867
867
/// assert_eq!(x.get_unchecked(1), x.as_ptr().add(1));
868
868
/// }
869
869
/// ```
870
- #[ unstable( feature = "slice_ptr_get" , issue = "none " ) ]
870
+ #[ unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
871
871
#[ inline]
872
872
pub unsafe fn get_unchecked < I > ( self , index : I ) -> * const I :: Output
873
873
where
Original file line number Diff line number Diff line change @@ -1043,8 +1043,8 @@ impl<T> *mut [T] {
1043
1043
/// assert_eq!(slice.as_mut_ptr(), 0 as *mut i8);
1044
1044
/// ```
1045
1045
#[ 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 " ) ]
1048
1048
pub const fn as_mut_ptr ( self ) -> * mut T {
1049
1049
self as * mut T
1050
1050
}
@@ -1068,7 +1068,7 @@ impl<T> *mut [T] {
1068
1068
/// assert_eq!(x.get_unchecked_mut(1), x.as_mut_ptr().add(1));
1069
1069
/// }
1070
1070
/// ```
1071
- #[ unstable( feature = "slice_ptr_get" , issue = "none " ) ]
1071
+ #[ unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
1072
1072
#[ inline]
1073
1073
pub unsafe fn get_unchecked_mut < I > ( self , index : I ) -> * mut I :: Output
1074
1074
where
Original file line number Diff line number Diff line change @@ -217,8 +217,8 @@ impl<T> NonNull<[T]> {
217
217
/// assert_eq!(slice.as_non_null_ptr(), NonNull::new(1 as *mut i8).unwrap());
218
218
/// ```
219
219
#[ 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 " ) ]
222
222
pub const fn as_non_null_ptr ( self ) -> NonNull < T > {
223
223
// SAFETY: We know `self` is non-null.
224
224
unsafe { NonNull :: new_unchecked ( self . as_ptr ( ) . as_mut_ptr ( ) ) }
@@ -245,7 +245,7 @@ impl<T> NonNull<[T]> {
245
245
/// assert_eq!(x.get_unchecked_mut(1).as_ptr(), x.as_non_null_ptr().as_ptr().add(1));
246
246
/// }
247
247
/// ```
248
- #[ unstable( feature = "slice_ptr_get" , issue = "none " ) ]
248
+ #[ unstable( feature = "slice_ptr_get" , issue = "74265 " ) ]
249
249
#[ inline]
250
250
pub unsafe fn get_unchecked_mut < I > ( self , index : I ) -> NonNull < I :: Output >
251
251
where
You can’t perform that action at this time.
0 commit comments