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

Commit

Permalink
perf: update annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
GiveMe-A-Name committed Feb 25, 2023
1 parent df99371 commit 62c2d3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ impl Rule for NoUselessCatch {
let catch_body = binding.body().ok()?;
let body_statements = catch_body.statements();

// We need guarantees that body_statements is only one statement so much that it has only one `throw` statement.
// We need guarantees that body_statements has only one `throw` statement.
if body_statements.len() != 1 {
return None;
}
Expand Down

0 comments on commit 62c2d3e

Please sign in to comment.