Skip to content

Commit

Permalink
refactor: move variable
Browse files Browse the repository at this point in the history
  • Loading branch information
flazepe committed Feb 5, 2023
1 parent 2154dcd commit ef37962
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cleaner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,13 +301,12 @@ impl Cleaner {

if !self.args.quiet {
println!(
"[{:0width1$}/{}] [{:0width2$}/{}] [{} MB] {}",
"[{:0width1$}/{}] [{:0width2$}/{}] [{} MB] {prettified_path}",
self.progress,
self.beatmapsets,
index + 1,
component.files.len(),
self.saved_size / 1024 / 1024,
prettified_path,
width1 = self.beatmapsets.to_string().len(),
width2 = component.files.len().to_string().len()
);
Expand Down

0 comments on commit ef37962

Please sign in to comment.