rust/library/core
Matthias Krüger e28be0d168
Rollup merge of #127978 - nyurik:lib-refs, r=workingjubilee
Avoid ref when using format! for perf

Clean up a few minor refs in `format!` macro, as it has a performance cost. Apparently the compiler is unable to inline `format!("{}", &variable)`, and does a run-time double-reference instead (format macro already does one level referencing).  Inlining format args prevents accidental `&` misuse.
2024-07-19 20:03:58 +02:00
..
benches Write char::DebugEscape sequences using write_str 2024-05-20 10:04:44 +02:00
src Rollup merge of #127978 - nyurik:lib-refs, r=workingjubilee 2024-07-19 20:03:58 +02:00
tests Avoid ref when using format! for perf 2024-07-19 12:23:49 -04:00
Cargo.toml Cleanup bootstrap check-cfg 2024-06-27 11:30:03 +02:00