From 380f0bc259b6de78ea8fa4d70de442fab788a5ec Mon Sep 17 00:00:00 2001 From: Elias Dalbeck Date: Fri, 13 Dec 2024 17:36:54 +0100 Subject: [PATCH] fixed cargo clippy deref warning --- cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/main.rs b/cli/src/main.rs index 9c42b23c..f771510d 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -785,7 +785,7 @@ fn create_progress_bar(file_size: u64) -> ProgressBar { pb.set_style( ProgressStyle::default_bar() // .template("[{elapsed_precise}] [{wide_bar:.cyan/blue}] {bytes}/{total_bytes} ({eta})") - .template(&template) + .template(template) .unwrap() .progress_chars("#>-"), );