Run 'cargo fmt'

This commit is contained in:
sharkdp 2019-08-31 12:46:27 +02:00 committed by David Peter
parent 3a75d85b80
commit ec908d5937
1 changed files with 3 additions and 4 deletions

View File

@ -303,12 +303,11 @@ impl<'a> Printer for InteractivePrinter<'a> {
let title = "8<";
let title_count = title.chars().count();
let snip_left =
"".repeat((self.config.term_width - panel_count - (title_count / 2)) / 4);
let snip_left = "".repeat((self.config.term_width - panel_count - (title_count / 2)) / 4);
let snip_left_count = snip_left.chars().count(); // Can't use .len() with Unicode.
let snip_right = ""
.repeat((self.config.term_width - panel_count - snip_left_count - title_count) / 2);
let snip_right =
"".repeat((self.config.term_width - panel_count - snip_left_count - title_count) / 2);
write!(
handle,