Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jan 3, 2023
1 parent c3ad45d commit 8e4876a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/swc_ecma_minifier/src/compress/optimize/sequences.rs
Expand Up @@ -2459,9 +2459,8 @@ impl Visit for UsageCounter<'_> {
}

fn visit_prop_name(&mut self, p: &PropName) {
match p {
PropName::Computed(p) => p.visit_with(self),
_ => {}
if let PropName::Computed(p) = p {
p.visit_with(self)
}
}

Expand Down

0 comments on commit 8e4876a

Please sign in to comment.