rust-analyzer/crates/ide-completion/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
..
completions Encode edition within FileId in the hir layer 2024-07-18 08:49:10 +02:00
context Use Symbol in Name 2024-07-12 16:06:44 +02:00
render Remove Name::to_smol_str 2024-07-16 12:43:58 +02:00
tests Fix stable iteration ordering for Map<Name, ...> usages 2024-07-15 11:25:46 +02:00
completions.rs Remove Name::to_smol_str 2024-07-16 12:43:58 +02:00
config.rs squash. 2024-07-02 01:52:34 +09:00
context.rs Encode edition within FileId in the hir layer 2024-07-18 08:49:10 +02:00
item.rs 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
render.rs Remove Name::to_smol_str 2024-07-16 12:43:58 +02:00
snippet.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