style: Fix build / unit tests.

This commit is contained in:
Emilio Cobos Álvarez 2018-07-01 00:40:32 +02:00
parent fc5dbc1bae
commit e149059608
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
4 changed files with 2 additions and 414 deletions

View file

@ -216,7 +216,7 @@ impl MediaFeatureExpression {
"width" => {
ExpressionKind::Width(Range::Eq(specified::Length::parse_non_negative(context, input)?))
},
_ => return Err(input.new_custom_error(SelectorParseErrorKind::UnexpectedIdent(name)))
_ => return Err(input.new_custom_error(SelectorParseErrorKind::UnexpectedIdent(name.clone())))
}))
}