mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Pass some 48-bytes closures by references instead of by value.
This commit is contained in:
parent
ed5485ed18
commit
837cb6ddb2
3 changed files with 8 additions and 8 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue