rust/library/core/src/slice
Matthias Krüger 2df731d586
Rollup merge of #138540 - okaneco:const_split_off_first_last, r=m-ou-se
core/slice: Mark some `split_off` variants unstably const

Tracking issue: #138539

Add feature gate `#![feature(const_split_off_first_last)]`
Mark `split_off_first`, `split_off_first_mut`, `split_off_last`, and `split_off_last_mut` slice methods unstably const
2025-03-19 16:52:55 +01:00
..
iter rename sub_ptr 😅 2025-02-23 23:11:00 +07:00
sort library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
ascii.rs Remove #[cfg(not(test))] gates in core 2025-03-06 13:21:59 -08:00
cmp.rs Optimize multi-char string patterns 2025-03-15 14:14:25 +00:00
index.rs add const_eval_select macro to reduce redundancy 2024-11-05 09:26:08 +01:00
iter.rs Save another BB by using SubUnchecked instead of a call to arith_offset 2025-02-14 22:24:27 -08:00
memchr.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
mod.rs Rollup merge of #138540 - okaneco:const_split_off_first_last, r=m-ou-se 2025-03-19 16:52:55 +01:00
raw.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
rotate.rs library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
specialize.rs Remove size_of == 1 case from fill specialization. 2021-08-09 19:25:28 +02:00