summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThomas Otto <th1000s@posteo.net>2021-09-27 23:59:18 +0200
committerThomas Otto <th1000s@posteo.net>2021-10-16 14:07:30 +0200
commit1b238dbb8edd7c2ea5a11da6a904ec73e784c6cc (patch)
treec432691f24902e293ddd6266ccc317c6335d5010 /src
parent32aef48ccf6d03a1c316228b9d0398c38e22f8fc (diff)
Fix clippy warning needless_option_as_deref
Diffstat (limited to 'src')
-rw-r--r--src/parse_style.rs2
1 files changed, 1 insertions, 1 deletions
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,
);