resolve clippy lints
This commit is contained in:
parent
1ef93c082b
commit
e9f2cdbe4d
@ -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())
|
||||
))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user