Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jul 31, 2024
1 parent 43fa273 commit 529804a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/turbopack-ecmascript/src/references/unreachable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ fn collect_idents(pat: &Pat, idents: &mut Vec<Ident>) {
for prop in props.iter() {
match prop {
ObjectPatProp::KeyValue(KeyValuePatProp { value, .. }) => {
collect_idents(&value, idents);
collect_idents(value, idents);
}
ObjectPatProp::Assign(AssignPatProp { key, .. }) => {
idents.push(key.id.clone());
Expand Down

0 comments on commit 529804a

Please sign in to comment.