Rollup merge of #26835 - tshepang:copy-or-not, r=steveklabnik

This commit is contained in:
Steve Klabnik 2015-07-06 18:06:31 -04:00
commit 04a85c538a

View File

@ -2515,9 +2515,8 @@ Here are some examples:
#### Moved and copied types
When a [local variable](#variables) is used as an
[rvalue](#lvalues,-rvalues-and-temporaries) the variable will either be moved
or copied, depending on its type. All values whose type implements `Copy` are
copied, all others are moved.
[rvalue](#lvalues,-rvalues-and-temporaries), the variable will be copied
if its type implements `Copy`. All others are moved.
### Literal expressions