Fix formatting

pull/346/head
sharkdp 6 years ago
parent 1a6709c2cb
commit 2a7851530d

@ -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,
})
}

@ -309,8 +309,8 @@ impl<'a> Printer for InteractivePrinter<'a> {
} else {
None
}
}
_ => None
}
_ => None,
};
// Line contents.

Loading…
Cancel
Save