We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f692b91 commit a44aa36Copy full SHA for a44aa36
1 file changed
src/reporter/progress_report.rs
@@ -21,17 +21,12 @@ impl<Size: size::Size + Into<u64>> ProgressReport<Size> {
21
errors,
22
} = report;
23
let mut text = String::new();
24
- write!(
25
- text,
26
- "\r(scanned {items}, total {total}",
27
- items = items,
28
- total = total.into(),
29
- )
30
- .unwrap();
+ let total: u64 = total.into();
+ write!(text, "\r(scanned {items}, total {total}").unwrap();
31
if errors != 0 {
32
write!(text, ", erred {errors}").unwrap();
33
}
34
- write!(text, ")").unwrap();
+ text.push(')');
35
GLOBAL_STATUS_BOARD.temporary_message(&text);
36
};
37
0 commit comments