Skip to content

Commit

Permalink
Clarify match arm "expression" as "body expression"
Browse files Browse the repository at this point in the history
  • Loading branch information
tmandry authored Jan 31, 2023
1 parent b1f11e4 commit 27dc03f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/destructors.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ smallest scope that contains the expression and is one of the following:
* The `else` block of an `if` expression.
* The condition expression of an `if` or `while` expression, or a `match`
guard.
* The body expression for a match arm.
* The second operand of a [lazy boolean expression].

> **Notes**:
Expand Down

0 comments on commit 27dc03f

Please sign in to comment.