Skip to content

Commit 61335e6

Browse files
Clarify match arm "expression" as "body expression"
1 parent 49c4b87 commit 61335e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/destructors.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ smallest scope that contains the expression and is one of the following:
162162
* The `else` block of an `if` expression.
163163
* The condition expression of an `if` or `while` expression, or a `match`
164164
guard.
165+
* The body expression for a match arm.
165166
* The second operand of a [lazy boolean expression].
166167

167168
> **Notes**:

0 commit comments

Comments
 (0)