1
0
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:
2024-01-24 13:07:35 +01:00
parent a6657842c4
commit 10f737cb41

View File

@ -54,7 +54,7 @@ pub fn check_file(file: &Path, password: &str) -> Result<Vec<CheckNotice>, Check
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()
.template("{wide_bar} {msg:32} {pos}/{len}")
.unwrap(),