Skip to content

Commit

Permalink
Indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeniy-r committed Nov 10, 2021
1 parent ca02d32 commit 81d1ed0
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions datanymizer_dumper/src/indicator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@ impl Indicator for ConsoleIndicator {
self.pb.finish();
self.pb.reset();

self.debug_msg(format!(
"[Dumping: {}] Finished in {}",
name,
HumanDuration(duration)
).as_str());
self.debug_msg(
format!(
"[Dumping: {}] Finished in {}",
name,
HumanDuration(duration)
)
.as_str(),
);
}

fn debug_msg(&self, msg: &str) {
Expand Down

0 comments on commit 81d1ed0

Please sign in to comment.