rust/library/core/src/slice
Matthias Krüger a073004484
Rollup merge of #128495 - joboet:more_memcmp, r=scottmcm
core: use `compare_bytes` for more slice element types

`bool`, `NonZero<u8>`, `Option<NonZero<u8>>` and `ascii::Char` can be compared the same way as `u8`.
2024-09-01 03:58:02 +02:00
..
iter Shrink some slice iterator MIR 2024-06-19 21:35:37 -07:00
sort Tweak some attributes to improve panic_immediate_abort 2024-08-25 14:52:53 -04:00
ascii.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
cmp.rs core: make documentation clearer, rename slice comparison specialization trait 2024-08-12 10:20:32 +02:00
index.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
iter.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
memchr.rs Use usize::repeat_u8 instead of implementing repeat_byte in memchr.rs 2023-11-26 12:27:56 +00:00
mod.rs Tweak some attributes to improve panic_immediate_abort 2024-08-25 14:52:53 -04:00
raw.rs Reformat use declarations. 2024-07-29 08:26:52 +10: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