diff --git a/src/app.rs b/src/app.rs index 360c7304..8fdb61c3 100644 --- a/src/app.rs +++ b/src/app.rs @@ -185,7 +185,10 @@ impl App { .or_else(|| env::var("BAT_THEME").ok()) .unwrap_or(String::from(BAT_THEME_DEFAULT)), line_range: transpose(self.matches.value_of("line-range").map(LineRange::from))?, - highlight_line: self.matches.value_of("highlight-line").and_then(|w| w.parse().ok()), + highlight_line: self + .matches + .value_of("highlight-line") + .and_then(|w| w.parse().ok()), output_components, }) } diff --git a/src/printer.rs b/src/printer.rs index 03f01f97..68b2a998 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -309,8 +309,8 @@ impl<'a> Printer for InteractivePrinter<'a> { } else { None } - } - _ => None + } + _ => None, }; // Line contents.