Skip to content

Commit 04a85c5

Browse files
committed
Rollup merge of #26835 - tshepang:copy-or-not, r=steveklabnik
2 parents c4ee2e5 + dd78ffe commit 04a85c5

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/doc/reference.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -2515,9 +2515,8 @@ Here are some examples:
25152515
#### Moved and copied types
25162516

25172517
When a [local variable](#variables) is used as an
2518-
[rvalue](#lvalues,-rvalues-and-temporaries) the variable will either be moved
2519-
or copied, depending on its type. All values whose type implements `Copy` are
2520-
copied, all others are moved.
2518+
[rvalue](#lvalues,-rvalues-and-temporaries), the variable will be copied
2519+
if its type implements `Copy`. All others are moved.
25212520

25222521
### Literal expressions
25232522

0 commit comments

Comments
 (0)