We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 613f569 commit 021a7e4Copy full SHA for 021a7e4
library/core/src/ptr/non_null.rs
@@ -452,8 +452,8 @@ impl<T> NonNull<[T]> {
452
/// let slice: NonNull<[i8]> = NonNull::slice_from_raw_parts(NonNull::dangling(), 3);
453
/// assert_eq!(slice.len(), 3);
454
/// ```
455
- #[stable(feature = "slice_ptr_len_nonnull", since = "1.61.0")]
456
- #[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")]
457
#[rustc_allow_const_fn_unstable(const_slice_ptr_len)]
458
#[must_use]
459
#[inline]
0 commit comments