mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Minor perf tweaks per clippy
This commit is contained in:
parent
09fab42d39
commit
17f4d27f12
7 changed files with 8 additions and 8 deletions
|
@ -242,7 +242,7 @@ impl GlobalState {
|
|||
})
|
||||
.map(move |cargo| {
|
||||
let cargo_project_root = cargo.workspace_root().to_path_buf();
|
||||
FlycheckHandle::spawn(sender, config.clone(), cargo_project_root.into())
|
||||
FlycheckHandle::spawn(sender, config, cargo_project_root.into())
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue