Merge pull request #17814 from hvitved/rust/fix-bad-join

Rust: Fix bad join
This commit is contained in:
Tom Hvitved
2024-10-21 15:01:31 +02:00
committed by GitHub

View File

@@ -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() }
/**