on master help sign in
Rustfmt
commit155bad3862a0d53a8bfb69c3353a064fddfdc46c authorSindre Johansen <sindreij@gmail.com> dateSun 21 Oct 2018, 17:50 (8 years ago) parent7c98a1c
2 files changed+3−2
src/app.rs+2−1 src/clap_app.rs+1−1
src/app.rs+2−1
@@ -270,7 +270,8 @@ impl App {
270270 .collect::<Result<Vec<OutputComponent>>>()
271271 }))?;
272272
273− matches.value_of("style")
273+ matches
274+ .value_of("style")
274275 .map(|styles| {
275276 styles
276277 .split(",")
src/clap_app.rs+1−1
@@ -110,7 +110,7 @@ pub fn build_app(interactive_output: bool) -> ClapApp<'static, 'static> {
110110 !&[
111111 "auto", "full", "plain", "changes", "header", "grid", "numbers",
112112 ]
113− .contains(style)
113+ .contains(style)
114114 });
115115
116116 if let Some(invalid) = invalid_vals.next() {