Skip to content

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
raskad committed Aug 1, 2021
1 parent ed528f3 commit ec5eed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa/src/syntax/ast/node/declaration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ impl DeclarationPatternObject {
let mut rest_obj = context.construct_object();

// 3. Perform ? CopyDataProperties(restObj, value, excludedNames).
rest_obj.copy_data_properties(&value, excluded_keys.clone(), context)?;
rest_obj.copy_data_properties(value, excluded_keys.clone(), context)?;

// 4. If environment is undefined, return PutValue(lhs, restObj).
// 5. Return InitializeReferencedBinding(lhs, restObj).
Expand Down

0 comments on commit ec5eed2

Please sign in to comment.