imageproc: Fix clippy warning
This commit is contained in:
parent
e290616fad
commit
53114533ff
@ -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(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user