From 155bad3862a0d53a8bfb69c3353a064fddfdc46c Mon Sep 17 00:00:00 2001 From: Sindre Johansen Date: Sun, 21 Oct 2018 17:50:53 +0200 Subject: [PATCH] Rustfmt --- src/app.rs | 3 ++- src/clap_app.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app.rs b/src/app.rs index e9c3abea..fde8e1b9 100644 --- a/src/app.rs +++ b/src/app.rs @@ -270,7 +270,8 @@ impl App { .collect::>>() }))?; - matches.value_of("style") + matches + .value_of("style") .map(|styles| { styles .split(",") diff --git a/src/clap_app.rs b/src/clap_app.rs index 0c6a8e15..15498aed 100644 --- a/src/clap_app.rs +++ b/src/clap_app.rs @@ -110,7 +110,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> { !&[ "auto", "full", "plain", "changes", "header", "grid", "numbers", ] - .contains(style) + .contains(style) }); if let Some(invalid) = invalid_vals.next() {