Minor perf tweaks per clippy

This commit is contained in:
Jeremy Kolb 2020-07-19 14:26:24 -04:00
parent 09fab42d39
commit 17f4d27f12
7 changed files with 8 additions and 8 deletions

View file

@ -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())
})
}
}