Pass some 48-bytes closures by references instead of by value.

This commit is contained in:
Simon Sapin 2017-06-22 02:01:08 +02:00
parent ed5485ed18
commit 837cb6ddb2
3 changed files with 8 additions and 8 deletions

View file

@ -582,7 +582,7 @@ impl AnimationValue {
&variables.url_data,
variables.from_shorthand,
&custom_props,
|v| {
&mut |v| {
let declaration = match *v {
DeclaredValue::Value(value) => {
PropertyDeclaration::${prop.camel_case}(value.clone())