mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 22:54:58 +00:00
internal: slightly improve compile times
As per style guide, avoid monomorphisations
This commit is contained in:
parent
bef5e3096e
commit
78365c64c8
4 changed files with 21 additions and 18 deletions
|
@ -222,7 +222,7 @@ fn unresolved_fix(id: &'static str, label: &str, target: TextRange) -> Assist {
|
|||
assert!(!id.contains(' '));
|
||||
Assist {
|
||||
id: AssistId(id, AssistKind::QuickFix),
|
||||
label: Label::new(label),
|
||||
label: Label::new(label.to_string()),
|
||||
group: None,
|
||||
target,
|
||||
source_change: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue