bump stable version #94640
This commit is contained in:
parent
613f569080
commit
021a7e4877
@ -452,8 +452,8 @@ pub const fn slice_from_raw_parts(data: NonNull<T>, len: usize) -> Self {
|
|||||||
/// let slice: NonNull<[i8]> = NonNull::slice_from_raw_parts(NonNull::dangling(), 3);
|
/// let slice: NonNull<[i8]> = NonNull::slice_from_raw_parts(NonNull::dangling(), 3);
|
||||||
/// assert_eq!(slice.len(), 3);
|
/// assert_eq!(slice.len(), 3);
|
||||||
/// ```
|
/// ```
|
||||||
#[stable(feature = "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.61.0")]
|
#[rustc_const_stable(feature = "const_slice_ptr_len_nonnull", since = "1.63.0")]
|
||||||
#[rustc_allow_const_fn_unstable(const_slice_ptr_len)]
|
#[rustc_allow_const_fn_unstable(const_slice_ptr_len)]
|
||||||
#[must_use]
|
#[must_use]
|
||||||
#[inline]
|
#[inline]
|
||||||
|
Loading…
Reference in New Issue
Block a user