about summary refs log tree commit diff
path: root/src/doc/reference.md
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-15 18:27:14 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-15 18:27:14 +0530
commit3fe2715053c6ad689c306aff8b9c18dc679f1a26 (patch)
tree573733c8b7c135d8878c58dfbca153e81181c250 /src/doc/reference.md
parenta2bc3a252ce9ade1b78d139383feaba685c000f4 (diff)
parent4b25d7528bf6353fc56315683fce580ae1d360a9 (diff)
downloadrust-3fe2715053c6ad689c306aff8b9c18dc679f1a26.tar.gz
rust-3fe2715053c6ad689c306aff8b9c18dc679f1a26.zip
Rollup merge of #22269 - steveklabnik:gh22136, r=alexcrichton
 Fixes #22136
Diffstat (limited to 'src/doc/reference.md')
-rw-r--r--src/doc/reference.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index 73880549ae6..47ff61ef9ea 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -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