From 9367e73984debacdc17ee3186a90f8183ef09415 Mon Sep 17 00:00:00 2001 From: "Jae Lo Presti (DN0)" Date: Sun, 17 Apr 2022 16:02:53 +0300 Subject: [PATCH] src: run carg clippy --fix --- src/scrubber.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") }