rust/library/core/src/slice
Guillaume Gomez b1c33f4f09
Rollup merge of #133512 - bjoernager:slice-as-array, r=Amanieu
Add `as_array` and `as_mut_array` conversion methods to slices.

Tracking issue: #133508

This PR unstably implements the `as_array` and `as_mut_array` converters to `[T]`, `*const [T]`, and `*mut [T]`.
2024-11-28 03:14:48 +01:00
..
iter Use &raw in the standard library 2024-09-25 17:03:20 -07:00
sort Rename the FIXMEs, remove a few that dont matter anymore 2024-11-03 18:59:41 +00:00
ascii.rs Add new unstable feature const_eq_ignore_ascii_case 2024-11-05 22:22:31 -05:00
cmp.rs vectorized SliceContains 2024-10-23 20:14:17 +02:00
index.rs add const_eval_select macro to reduce redundancy 2024-11-05 09:26:08 +01:00
iter.rs Use &raw in the standard library 2024-09-25 17:03:20 -07:00
memchr.rs add const_eval_select macro to reduce redundancy 2024-11-05 09:26:08 +01:00
mod.rs Rollup merge of #133512 - bjoernager:slice-as-array, r=Amanieu 2024-11-28 03:14:48 +01:00
raw.rs clean up const stability around UB checks 2024-11-16 22:50:22 +01:00
rotate.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
specialize.rs Remove size_of == 1 case from fill specialization. 2021-08-09 19:25:28 +02:00