Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
fmt and clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
xunilrj committed Sep 13, 2022
1 parent 4517bf5 commit 2d31bb9
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,8 @@ fn is_non_camel_ok(binding: &JsIdentifierBinding, model: &SemanticModel) -> Opti

for reference in binding.all_reads(model) {
let greatparent = reference.node().grand_parent()?;
match greatparent.kind() {
JS_NEW_EXPRESSION => return Some(true),
_ => {}
if let JS_NEW_EXPRESSION = greatparent.kind() {
return Some(true);
}
}

Expand Down

0 comments on commit 2d31bb9

Please sign in to comment.