mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() 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. |
||
---|---|---|
.. | ||
mir | ||
abi.rs | ||
compiler_interface.rs | ||
crate_def.rs | ||
error.rs | ||
lib.rs | ||
mir.rs | ||
target.rs | ||
ty.rs | ||
visitor.rs |