diff --git a/crates/recent_projects/src/recent_projects.rs b/crates/recent_projects/src/recent_projects.rs index 6aa88ce93f..880defbf70 100644 --- a/crates/recent_projects/src/recent_projects.rs +++ b/crates/recent_projects/src/recent_projects.rs @@ -228,8 +228,8 @@ impl PickerDelegate for RecentProjectsDelegate { let candidates = self .workspaces .iter() - .filter(|(id, _)| !self.is_current_workspace(*id, cx)) .enumerate() + .filter(|(_, (id, _))| !self.is_current_workspace(*id, cx)) .map(|(id, (_, location))| { let combined_string = match location { SerializedWorkspaceLocation::Local(paths, _) => paths