From 2ccff145ed67044e808dc8b1d27fe0d0329d06af Mon Sep 17 00:00:00 2001 From: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> Date: Sat, 7 Nov 2020 11:14:31 +0100 Subject: [PATCH] remove unuseful matches expression --- src/bin/bat/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/bat/app.rs b/src/bin/bat/app.rs index 76cd30dc..b9992b49 100644 --- a/src/bin/bat/app.rs +++ b/src/bin/bat/app.rs @@ -224,7 +224,7 @@ impl App { style_components, syntax_mapping, pager: self.matches.value_of("pager"), - use_italic_text: matches!(self.matches.value_of("italic-text"), Some("always")), + use_italic_text: self.matches.value_of("italic-text") == Some("always"), highlighted_lines: self .matches .values_of("highlight-line")