Skip to content

Commit

Permalink
imageproc: Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sgued authored and Keats committed Feb 16, 2023
1 parent e290616 commit 5311453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/imageproc/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ impl From<ImageMeta> for ImageMetaResponse {
Self {
width: im.size.0,
height: im.size.1,
format: im.format.and_then(|f| f.extensions_str().get(0)).copied(),
format: im.format.and_then(|f| f.extensions_str().first()).copied(),
}
}
}
Expand Down

0 comments on commit 5311453

Please sign in to comment.