chore: Another round of style lints fixes (#17519)

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz
2024-09-07 02:36:55 +02:00
committed by GitHub
parent cfd43572c1
commit 095a08d9c8
33 changed files with 67 additions and 82 deletions
@@ -388,9 +388,7 @@ impl PickerDelegate for RecentProjectsDelegate {
selected: bool,
cx: &mut ViewContext<Picker<Self>>,
) -> Option<Self::ListItem> {
let Some(hit) = self.matches.get(ix) else {
return None;
};
let hit = self.matches.get(ix)?;
let (_, location) = self.workspaces.get(hit.candidate_id)?;