Skip to content

Commit

Permalink
Merge pull request #17814 from hvitved/rust/fix-bad-join
Browse files Browse the repository at this point in the history
Rust: Fix bad join
  • Loading branch information
hvitved authored Oct 21, 2024
2 parents ce53964 + 7e82595 commit d2623cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/ql/lib/codeql/rust/elements/internal/MatchExprImpl.qll
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module Impl {
/**
* Gets the `index`th arm of this match expression.
*/
pragma[nomagic]
MatchArm getArm(int index) { result = this.getMatchArmList().getArm(index) }

/**
Expand All @@ -41,6 +42,7 @@ module Impl {
/**
* Gets the number of arms of this match expression.
*/
pragma[nomagic]
int getNumberOfArms() { result = this.getMatchArmList().getNumberOfArms() }

/**
Expand Down

0 comments on commit d2623cf

Please sign in to comment.