Skip to content

Commit ff5e107

Browse files
committed
assign tracking issue
1 parent 5f5c98b commit ff5e107

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/libcore/ptr/const_ptr.rs

+3-3
Original file line numberDiff line numberDiff 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

src/libcore/ptr/mut_ptr.rs

+3-3
Original file line numberDiff line numberDiff 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

src/libcore/ptr/non_null.rs

+3-3
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)