1
Fork 0

core is now compilable

This commit is contained in:
Deadbeef 2023-04-16 07:20:26 +00:00
parent e80c020445
commit 63e0ddbf1d
21 changed files with 85 additions and 253 deletions

View file

@ -1650,9 +1650,8 @@ impl<T> *const [T] {
/// }
/// ```
#[unstable(feature = "slice_ptr_get", issue = "74265")]
#[rustc_const_unstable(feature = "const_slice_index", issue = "none")]
#[inline]
pub const unsafe fn get_unchecked<I>(self, index: I) -> *const I::Output
pub unsafe fn get_unchecked<I>(self, index: I) -> *const I::Output
where
I: SliceIndex<[T]>,
{