a lot of clippy::style fixes
This commit is contained in:
@@ -242,11 +242,8 @@ impl GlobalState {
|
||||
}
|
||||
BuildDataProgress::End(collector) => {
|
||||
self.fetch_build_data_completed();
|
||||
let workspaces = (*self.workspaces)
|
||||
.clone()
|
||||
.into_iter()
|
||||
.map(|it| Ok(it))
|
||||
.collect();
|
||||
let workspaces =
|
||||
(*self.workspaces).clone().into_iter().map(Ok).collect();
|
||||
self.switch_workspaces(workspaces, Some(collector));
|
||||
(Some(Progress::End), None)
|
||||
}
|
||||
|
||||
@@ -237,7 +237,7 @@ impl GlobalState {
|
||||
None => None,
|
||||
};
|
||||
|
||||
if &*self.workspaces == &workspaces && self.workspace_build_data == workspace_build_data {
|
||||
if *self.workspaces == workspaces && self.workspace_build_data == workspace_build_data {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user