Skip to content

Commit cd8119a

Browse files
m-ou-setraviscross
andauthored
Update src/destructors.md
Co-authored-by: Travis Cross <[email protected]>
1 parent ea11029 commit cd8119a

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][tuple struct] and [tuple variant][tuple variant] constructors.
377+
* The arguments to [tuple struct] and [tuple variant] constructors.
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)