Skip to content

Commit dfd6844

Browse files
committed
ptr: add tracking issue for len() method on raw slices
1 parent 2a29f8f commit dfd6844

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/libcore/ptr/const_ptr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -727,8 +727,8 @@ impl<T> *const [T] {
727727
/// assert_eq!(slice.len(), 3);
728728
/// ```
729729
#[inline]
730-
#[unstable(feature = "slice_ptr_len", issue = "none")]
731-
#[rustc_const_unstable(feature = "const_slice_ptr_len", issue = "none")]
730+
#[unstable(feature = "slice_ptr_len", issue = "71146")]
731+
#[rustc_const_unstable(feature = "const_slice_ptr_len", issue = "71146")]
732732
pub const fn len(self) -> usize {
733733
unsafe { Repr { rust: self }.raw }.len
734734
}

src/libcore/ptr/mut_ptr.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -915,8 +915,8 @@ impl<T> *mut [T] {
915915
/// assert_eq!(slice.len(), 3);
916916
/// ```
917917
#[inline]
918-
#[unstable(feature = "slice_ptr_len", issue = "none")]
919-
#[rustc_const_unstable(feature = "const_slice_ptr_len", issue = "none")]
918+
#[unstable(feature = "slice_ptr_len", issue = "71146")]
919+
#[rustc_const_unstable(feature = "const_slice_ptr_len", issue = "71146")]
920920
pub const fn len(self) -> usize {
921921
unsafe { Repr { rust_mut: self }.raw }.len
922922
}

0 commit comments

Comments
 (0)