Change slice_as_array feature name to core_slice_as_array for [_] a… · zachs18/rust@e801f3e (original) (raw)

Original file line number Diff line number Diff line change
@@ -1462,8 +1462,8 @@ impl *const [T] {
1462 1462 /// Gets a raw pointer to the underlying array.
1463 1463 ///
1464 1464 /// If `N` is not exactly equal to the length of `self`, then this method returns `None`.
1465 - #[stable(feature = "slice_as_array", since = "CURRENT_RUSTC_VERSION")]
1466 -#[rustc_const_stable(feature = "slice_as_array", since = "CURRENT_RUSTC_VERSION")]
1465 + #[stable(feature = "core_slice_as_array", since = "CURRENT_RUSTC_VERSION")]
1466 +#[rustc_const_stable(feature = "core_slice_as_array", since = "CURRENT_RUSTC_VERSION")]
1467 1467 #[inline]
1468 1468 #[must_use]
1469 1469 pub const fn as_array<const N: usize>(self) -> Option<*const [T; N]> {