Skip to content

Commit

Permalink
Clippy fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed Aug 5, 2024
1 parent 637c85d commit 01adcf8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/redacters/ms_presidio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,14 +167,12 @@ impl<'a> MsPresidioRedacter<'a> {
let redacted_image_bytes = response.bytes().await?;
Ok(RedacterDataItemContent::Image {
mime_type,
data: redacted_image_bytes.into(),
data: redacted_image_bytes,
})
}
_ => {
return Err(AppError::SystemError {
message: "Unsupported item for image redacting".to_string(),
});
}
_ => Err(AppError::SystemError {
message: "Unsupported item for image redacting".to_string(),
}),
}
}
}
Expand Down

0 comments on commit 01adcf8

Please sign in to comment.