From e9f2cdbe4d8f733d48c187bbeccc7bcc9d66fe01 Mon Sep 17 00:00:00 2001 From: Connor Skees Date: Thu, 2 Jul 2020 15:57:14 -0400 Subject: [PATCH] resolve clippy lints --- src/builtin/meta.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/builtin/meta.rs b/src/builtin/meta.rs index 1e90787..570da32 100644 --- a/src/builtin/meta.rs +++ b/src/builtin/meta.rs @@ -249,8 +249,7 @@ fn content_exists(args: CallArgs, parser: &mut Parser<'_>) -> SassResult parser .content .last() - .map(|c| c.content.is_some()) - .unwrap_or(false), + .map_or(false, |c| c.content.is_some()) )) }