diff --git a/src/scrubber.rs b/src/scrubber.rs index c508111..fb14286 100644 --- a/src/scrubber.rs +++ b/src/scrubber.rs @@ -13,7 +13,7 @@ pub fn scrub_image_file( image_path: &std::path::Path, keep_filename: bool, ) -> Result<(), Box> { - if !check_can_be_scrubbed(image_path.to_owned()) { + if !check_can_be_scrubbed(image_path) { info!("> Image not compatible with scrubbing") }