| @@ -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]> { |