Skip to content

Commit 7d03395

Browse files
authored
Merge pull request #2007 from tshepang/patch-2
destructors.md: improve readability by adding pauses
2 parents 894d4d7 + 50c3bbe commit 7d03395

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
@@ -401,7 +401,7 @@ println!("{:?}", C);
401401
```
402402

403403
r[destructors.scope.lifetime-extension.sub-expressions]
404-
If a [borrow], [dereference][dereference expression], [field][field expression], or [tuple indexing expression] has an extended temporary scope then so does its operand. If an [indexing expression] has an extended temporary scope then the indexed expression also has an extended temporary scope.
404+
If a [borrow], [dereference][dereference expression], [field][field expression], or [tuple indexing expression] has an extended temporary scope, then so does its operand. If an [indexing expression] has an extended temporary scope, then the indexed expression also has an extended temporary scope.
405405

406406
r[destructors.scope.lifetime-extension.patterns]
407407
#### Extending based on patterns

0 commit comments

Comments
 (0)