Skip to content

Commit 3834596

Browse files
committed
Use "extending expression" wording.
1 parent 467def3 commit 3834596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/destructors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ expression which is one of the following:
374374
expression], [braced struct][struct expression], or [tuple][tuple expression]
375375
expression.
376376
* The final expression of any extending [block expression].
377-
* The arguments to [tuple struct] and [tuple variant] constructors.
377+
* The arguments to an extending [tuple struct] or [tuple variant] constructor expression.
378378

379379
So the borrow expressions in `&mut 0`, `(&1, &mut 2)`, and `Some(&mut 3)`
380380
are all extending expressions. The borrows in `&0 + &1` and `f(&mut 0)` are not.

0 commit comments

Comments
 (0)