Skip to content

Commit

Permalink
Rollup merge of rust-lang#22269 - steveklabnik:gh22136, r=alexcrichton
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Feb 15, 2015
2 parents a2bc3a2 + 4b25d75 commit 3fe2715
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/doc/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2591,9 +2591,8 @@ of any reference that points to it.

When a [local variable](#memory-slots) is used as an
[rvalue](#lvalues,-rvalues-and-temporaries) the variable will either be moved
or copied, depending on its type. For types that contain [owning
pointers](#pointer-types) or values that implement the special trait `Drop`,
the variable is moved. All other types are copied.
or copied, depending on its type. All values whose type implements `Copy` are
copied, all others are moved.

### Literal expressions

Expand Down

0 comments on commit 3fe2715

Please sign in to comment.