From 375cf76e1599e827115c17a4369a14a57123fc8a Mon Sep 17 00:00:00 2001 From: eth-p <32112321+eth-p@users.noreply.github.com> Date: Fri, 7 Sep 2018 11:13:03 -0700 Subject: [PATCH] Formatted for newest rustfmt. --- src/app.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index 8be7c184..9af36bca 100644 --- a/src/app.rs +++ b/src/app.rs @@ -384,7 +384,8 @@ impl App { } }, }, - term_width: self.matches + term_width: self + .matches .value_of("terminal-width") .and_then(|w| w.parse().ok()) .unwrap_or(Term::stdout().size().1 as usize), @@ -392,7 +393,8 @@ impl App { || self.matches.value_of("color") == Some("always") || self.matches.value_of("decorations") == Some("always")), files, - theme: self.matches + theme: self + .matches .value_of("theme") .map(String::from) .or_else(|| env::var("BAT_THEME").ok())