From 69cfe4aa22ec261de8cec3252b21e5725deb946c 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 3382565f..ba082530 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -757,7 +757,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("#>-"), );