rust-analyzer/crates/ide-diagnostics/src
Yuri Astrakhan cc1aded86c 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.
2024-07-19 14:41:59 -04:00
..
handlers Avoid ref when using format! in compiler 2024-07-19 14:41:59 -04:00
lib.rs Encode edition within FileId in the hir layer 2024-07-18 08:49:10 +02:00
tests.rs Encode edition within FileId in the hir layer 2024-07-18 08:49:10 +02:00