Skip to content

Commit

Permalink
Update rust/ql/lib/codeql/rust/controlflow/internal/Completion.qll
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Friis Vindum <[email protected]>
  • Loading branch information
aibaars and paldepind authored Oct 14, 2024
1 parent 867c8a7 commit ae7afa7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private predicate isExhaustiveMatch(Pat pat) {
// `match` expressions must be exhaustive, so last arm cannot fail
pat = any(MatchExpr me).getLastArm().getPat()
or
// macro patterns is exhaustive if its expansion is
// macro invocations are exhaustive if their expansion is
pat = any(MacroPat mp | isExhaustiveMatch(mp.getMacroCall().getExpanded()))
or
// parameter patterns must be exhaustive
Expand Down

0 comments on commit ae7afa7

Please sign in to comment.