rust-analyzer/crates/rust-analyzer
bors 062822ce91 Auto merge of #17641 - nyurik:optimize-refs, r=Veykril
Avoid ref when using format! in compiler

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.

See https://github.com/rust-lang/rust-clippy/issues/10851
2024-07-20 06:40:27 +00:00
..
src Auto merge of #17641 - nyurik:optimize-refs, r=Veykril 2024-07-20 06:40:27 +00:00
tests feature: move linked_projects discovery to the rust-analyzer server 2024-07-18 12:01:27 -04:00
build.rs Bump Cargo.lock 2024-05-14 10:57:02 +02:00
Cargo.toml Use symbol in cfg 2024-07-16 10:41:42 +02:00