about summary refs log tree commit diff
path: root/src/doc/reference.md
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2015-02-13 09:21:38 -0500
committerSteve Klabnik <steve@steveklabnik.com>2015-02-13 09:21:38 -0500
commit4b25d7528bf6353fc56315683fce580ae1d360a9 (patch)
tree5c987b1d829596880230131da8ad9afd16a3ef55 /src/doc/reference.md
parentcf636c233dfeef5abf0de8fb35e23c0a161810d2 (diff)
downloadrust-4b25d7528bf6353fc56315683fce580ae1d360a9.tar.gz
rust-4b25d7528bf6353fc56315683fce580ae1d360a9.zip
Remove outdated information about copy/move from the reference
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 9c51f6bad6f..5317de0e878 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