mirror of
https://github.com/github/codeql.git
synced 2026-04-20 06:24:03 +02:00
Merge pull request #17814 from hvitved/rust/fix-bad-join
Rust: Fix bad join
This commit is contained in:
@@ -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) }
|
||||
|
||||
/**
|
||||
@@ -41,6 +42,7 @@ module Impl {
|
||||
/**
|
||||
* Gets the number of arms of this match expression.
|
||||
*/
|
||||
pragma[nomagic]
|
||||
int getNumberOfArms() { result = this.getMatchArmList().getNumberOfArms() }
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user