mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-07-01 16:32:54 +00:00
fix: do not use as mut variable
This commit is contained in:
@ -54,7 +54,7 @@ pub fn check_file(file: &Path, password: &str) -> Result<Vec<CheckNotice>, Check
|
|||||||
|
|
||||||
let mut result = vec![];
|
let mut result = vec![];
|
||||||
|
|
||||||
let mut progress_bar = ProgressBar::new(archive.len() as u64).with_style(
|
let progress_bar = ProgressBar::new(archive.len() as u64).with_style(
|
||||||
ProgressStyle::default_bar()
|
ProgressStyle::default_bar()
|
||||||
.template("{wide_bar} {msg:32} {pos}/{len}")
|
.template("{wide_bar} {msg:32} {pos}/{len}")
|
||||||
.unwrap(),
|
.unwrap(),
|
||||||
|
Reference in New Issue
Block a user