Run 'cargo fmt'

This commit is contained in:
sharkdp authored and David Peter committed 2019-08-31 13:46:48 +02:00
1 parent 3a75d85b80
commit ec908d5937
1 file changed
+3 -4
+3 -4
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,