more clippy fixes

This commit is contained in:
Milo
2021-10-16 12:32:55 +01:00
parent 3c468ab2fc
commit 35e5daacc3
19 changed files with 46 additions and 52 deletions

View File

@@ -211,7 +211,7 @@ impl GlobalState {
if same_workspaces {
let (workspaces, build_scripts) = self.fetch_build_data_queue.last_op_result();
if Arc::ptr_eq(&workspaces, &self.workspaces) {
if Arc::ptr_eq(workspaces, &self.workspaces) {
let workspaces = workspaces
.iter()
.cloned()
@@ -417,7 +417,7 @@ impl GlobalState {
id,
Box::new(move |msg| sender.send(msg).unwrap()),
config.clone(),
root.to_path_buf().into(),
root.to_path_buf(),
)
})
.collect();