From 021a7e48775e1b3ddd12a5463dc3f252da037644 Mon Sep 17 00:00:00 2001 From: Pointerbender Date: Tue, 17 May 2022 16:50:49 +0200 Subject: [PATCH] bump stable version #94640 --- library/core/src/ptr/non_null.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]