From 4bbeb6c54b81331c5b8ea34258afdb943c8c1be1 Mon Sep 17 00:00:00 2001 From: FliegendeWurst <2012gdwu+github@posteo.de> Date: Tue, 11 May 2021 09:56:57 +0200 Subject: [PATCH] Adapt to indicatif 0.16 API --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());