Skip to content

Commit

Permalink
Fix cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
agu-z committed Jan 9, 2025
1 parent eebb114 commit 55c2838
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ impl PickerDelegate for FileContextPickerDelegate {
});

let file_icon = FileIcons::get_icon(&path_match.path.clone(), cx)
.map(|icon_path| Icon::from_path(icon_path))
.map(Icon::from_path)
.unwrap_or_else(|| Icon::new(IconName::File));

Some(
Expand Down

0 comments on commit 55c2838

Please sign in to comment.