style: Fix formatting.

This commit is contained in:
Emilio Cobos Álvarez 2018-11-17 09:48:01 +01:00
parent cd75cd6a86
commit 06fe0a1fc0
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
7 changed files with 34 additions and 20 deletions

View file

@ -325,7 +325,11 @@ impl MediaFeatureExpression {
};
let atom = Atom::from(string_as_ascii_lowercase(feature_name));
match MEDIA_FEATURES.iter().enumerate().find(|(_, f)| f.name == atom) {
match MEDIA_FEATURES
.iter()
.enumerate()
.find(|(_, f)| f.name == atom)
{
Some((i, f)) => Ok((i, f, range)),
None => Err(()),
}