Minor perf tweaks per clippy
This commit is contained in:
@@ -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())
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user