From 1b238dbb8edd7c2ea5a11da6a904ec73e784c6cc Mon Sep 17 00:00:00 2001 From: Thomas Otto Date: Mon, 27 Sep 2021 23:59:18 +0200 Subject: Fix clippy warning needless_option_as_deref --- src/parse_style.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/parse_style.rs b/src/parse_style.rs index 18ba4b28..1c20c981 100644 --- a/src/parse_style.rs +++ b/src/parse_style.rs @@ -49,7 +49,7 @@ impl Style { let mut style = Style::from_str( &style_string, default, - decoration_style_string.as_deref(), + decoration_style_string, true_color, is_emph, ); -- cgit v1.2.3