From ec908d59374376318b27d64ba4b308f64a988976 Mon Sep 17 00:00:00 2001 From: sharkdp Date: Sat, 31 Aug 2019 12:46:27 +0200 Subject: [PATCH] Run 'cargo fmt' --- src/printer.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/printer.rs b/src/printer.rs index d8fdcc8b..cb13c91e 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -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,