diff --git a/src/main.rs b/src/main.rs index 960c54f..9853fac 100644 --- a/src/main.rs +++ b/src/main.rs @@ -316,7 +316,7 @@ async fn process(ilias: Arc, path: PathBuf, obj: Object) -> Result<()> { let relative_path = path.strip_prefix(&ilias.opt.output).unwrap(); if PROGRESS_BAR_ENABLED.load(Ordering::SeqCst) { PROGRESS_BAR.inc(1); - PROGRESS_BAR.set_message(&relative_path.display().to_string()); + PROGRESS_BAR.set_message(relative_path.display().to_string()); } if ilias.ignore.matched(relative_path, obj.is_dir()).is_ignore() { log!(1, "Ignored {}", relative_path.to_string_lossy());