code: Fix new clippy hint
This commit is contained in:
parent
4704edd6cf
commit
074b6b54e7
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ impl std::fmt::Debug for ImageMetadata {
|
||||||
fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
|
fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> Result<(), std::fmt::Error> {
|
||||||
match self {
|
match self {
|
||||||
Self::Exif(exif) => {
|
Self::Exif(exif) => {
|
||||||
let list = exif.fields().into_iter().map(|f| {
|
let list = exif.fields().map(|f| {
|
||||||
let mut value = f.display_value().to_string();
|
let mut value = f.display_value().to_string();
|
||||||
// Remove long values
|
// Remove long values
|
||||||
if value.len() > 100 {
|
if value.len() > 100 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue