We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf636c2 commit 4b25d75Copy full SHA for 4b25d75
src/doc/reference.md
@@ -2591,9 +2591,8 @@ of any reference that points to it.
2591
2592
When a [local variable](#memory-slots) is used as an
2593
[rvalue](#lvalues,-rvalues-and-temporaries) the variable will either be moved
2594
-or copied, depending on its type. For types that contain [owning
2595
-pointers](#pointer-types) or values that implement the special trait `Drop`,
2596
-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.
2597
2598
### Literal expressions
2599
0 commit comments