Skip to content

Commit 27dc03f

Browse files
authored
Clarify match arm "expression" as "body expression"
1 parent b1f11e4 commit 27dc03f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/destructors.md

+1
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)