Skip to content

Commit

Permalink
fix(main): remove unnecessary mut
Browse files Browse the repository at this point in the history
  • Loading branch information
jfroy committed Aug 13, 2024
1 parent 9c239cd commit 4c934f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ fn main() {
.name("ui".to_string())
.spawn(move || {
let t = w * h;
let mut pb = ProgressBar::new((t) as u64);
let pb = ProgressBar::new((t) as u64);
loop {
let x = ui_pxcount.load(Ordering::Relaxed);
pb.set_position(x as u64);
Expand Down

0 comments on commit 4c934f8

Please sign in to comment.