rust/library/core
Matthias Krüger 268657b40b
Rollup merge of #125455 - blyxyas:opt-clamp, r=joboet
Make `clamp` inline

Context: rust-lang/rust-clippy#12826
This results in slightly more optimized assembly. (And most important, it's now less than lines than just manually clamping a value)
2024-05-24 17:48:02 +02:00
..
benches Write char::DebugEscape sequences using write_str 2024-05-20 10:04:44 +02:00
src Rollup merge of #125455 - blyxyas:opt-clamp, r=joboet 2024-05-24 17:48:02 +02:00
tests Rollup merge of #125156 - zachs18:for_loops_over_fallibles_behind_refs, r=Nilstrieb 2024-05-23 07:41:17 +02:00
Cargo.toml Expect any feature cfg in core and std crates 2024-05-23 15:20:25 +02:00