RustRover finally let me remove an unnecessary mut

This commit is contained in:
2025-03-08 20:24:46 +01:00
parent 9f0763b255
commit 5d7e571994

View File

@@ -825,7 +825,7 @@ fn run_workspaces_client(config: &Config) {
}
let mut workspaces_tmp = workspaces.clone();
workspaces_tmp.sort_by(|a, b| a.id.cmp(&b.id));
let mut workspace = workspaces_tmp
let workspace = workspaces_tmp
.iter_mut()
.find(|w| w.id == active_id)
.unwrap();