resolve clippy lints

This commit is contained in:
Connor Skees 2020-07-02 15:57:14 -04:00
parent 1ef93c082b
commit e9f2cdbe4d

View File

@ -249,8 +249,7 @@ fn content_exists(args: CallArgs, parser: &mut Parser<'_>) -> SassResult<Value>
parser
.content
.last()
.map(|c| c.content.is_some())
.unwrap_or(false),
.map_or(false, |c| c.content.is_some())
))
}