rust/library/core/src/slice
bors f04bbc60f8 Auto merge of #136771 - scottmcm:poke-slice-iter-next, r=joboet
Simplify `slice::Iter::next` enough that it inlines

Inspired by this zulip conversation: <https://rust-lang.zulipchat.com/#narrow/channel/189540-t-compiler.2Fwg-mir-opt/topic/Feedback.20on.20a.20MIR.20optimization.20idea/near/498579990>

~~Draft for now because it needs #136735 to get the codegen tests to pass.~~
2025-02-20 18:20:40 +00:00
..
iter Add real safety comments 2025-02-14 22:59:19 -08:00
sort Use more explicit and reliable ptr select in sort impls 2025-02-07 15:22:42 +01:00
ascii.rs Auto merge of #130733 - okaneco:is_ascii, r=scottmcm 2024-12-22 02:44:13 +00: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 Save another BB by using SubUnchecked instead of a call to arith_offset 2025-02-14 22:24:27 -08:00
memchr.rs update cfgs 2024-11-27 15:14:54 +00:00
mod.rs Rollup merge of #134995 - DaniPopes:stable-const_slice_flatten, r=Amanieu 2025-02-19 18:52:03 +01:00
raw.rs clean up const stability around UB checks 2024-11-16 22:50:22 +01:00
rotate.rs add inline attribute and codegen test 2025-01-29 19:34:19 +01:00
specialize.rs Remove size_of == 1 case from fill specialization. 2021-08-09 19:25:28 +02:00