rust/library/core/src/array
Matthias Krüger fe034cb43b
Rollup merge of #94657 - fee1-dead:const_slice_index, r=oli-obk
Constify `Index{,Mut}` for `[T]`, `str`, and `[T; N]`

Several panic functions were rewired (via `const_eval_select`) to simpler implementations that do not require formatting for compile-time usage.

r? ```@oli-obk```
2022-03-10 12:20:52 +01:00
..
equality.rs Do array-slice equality via arrays, rather than always via slices 2021-12-14 13:15:15 -08:00
iter.rs Fix a typo in documentation of array::IntoIter::new_unchecked 2022-02-23 21:10:04 +03:00
mod.rs Constify slice index for strings 2022-03-06 17:28:50 +11:00