Improve style in properties.mako.rs

This commit is contained in:
Manish Goregaokar 2015-09-03 04:19:46 +05:30
parent 05deb3dcc8
commit 35dd1816a9
2 changed files with 66 additions and 68 deletions

View file

@ -217,8 +217,8 @@ impl MediaQueryList {
// Check if all conditions match (AND condition)
let query_match = media_match && mq.expressions.iter().all(|expression| {
match expression {
&Expression::Width(value) =>
match *expression {
Expression::Width(ref value) =>
value.to_computed_range(viewport_size).evaluate(viewport_size.width),
}
});