diff --git a/library/core/src/ptr/non_null.rs b/library/core/src/ptr/non_null.rs index 072bae92975..e28b38f64bf 100644 --- a/library/core/src/ptr/non_null.rs +++ b/library/core/src/ptr/non_null.rs @@ -452,8 +452,8 @@ pub const fn slice_from_raw_parts(data: NonNull, len: usize) -> Self { /// let slice: NonNull<[i8]> = NonNull::slice_from_raw_parts(NonNull::dangling(), 3); /// assert_eq!(slice.len(), 3); /// ``` - #[stable(feature = "slice_ptr_len_nonnull", since = "1.61.0")] - #[rustc_const_stable(feature = "const_slice_ptr_len_nonnull", since = "1.61.0")] + #[stable(feature = "slice_ptr_len_nonnull", since = "1.63.0")] + #[rustc_const_stable(feature = "const_slice_ptr_len_nonnull", since = "1.63.0")] #[rustc_allow_const_fn_unstable(const_slice_ptr_len)] #[must_use] #[inline]