Skip to content

Commit

Permalink
wip: stop using format with parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
superyu1337 committed Dec 8, 2024
1 parent e533072 commit 50fcf63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ fn compare_videos_inner<D: Decoder + 'static, E: Decoder + 'static>(

results.insert(score.0, score.1);
rolling_mean = rolling_mean + (score.1 - rolling_mean) / (results.len() as f64);
progress.set_message(format!(", mean: {:.1$}", rolling_mean, 2));
progress.set_message(format!(", mean: {rolling_mean:.2}"));
progress.inc(1);
}

Expand Down

0 comments on commit 50fcf63

Please sign in to comment.