on master help sign in
Fix formatting
commit2a7851530dbf37ade9e5493c021d34fb4f3e700b authorsharkdp <davidpeter@web.de> dateWed 10 Oct 2018, 20:45 (8 years ago) parent1a6709c
2 files changed+6−3
src/app.rs+4−1 src/printer.rs+2−2
src/app.rs+4−1
@@ -185,7 +185,10 @@ impl App {
185185 .or_else(|| env::var("BAT_THEME").ok())
186186 .unwrap_or(String::from(BAT_THEME_DEFAULT)),
187187 line_range: transpose(self.matches.value_of("line-range").map(LineRange::from))?,
188− highlight_line: self.matches.value_of("highlight-line").and_then(|w| w.parse().ok()),
188+ highlight_line: self
189+ .matches
190+ .value_of("highlight-line")
191+ .and_then(|w| w.parse().ok()),
189192 output_components,
190193 })
191194 }
src/printer.rs+2−2
@@ -309,8 +309,8 @@ impl<'a> Printer for InteractivePrinter<'a> {
309309 } else {
310310 None
311311 }
312− }
313− _ => None
312+ }
313+ _ => None,
314314 };
315315
316316 // Line contents.