about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-11-30 11:23:17 -0800
committerBrian Anderson <banderson@mozilla.com>2012-11-30 11:23:22 -0800
commit946427b562d7ece5fc85c5067051c4aec73d5aff (patch)
treecb9fdfa778f997c61af8af3e3a60ddc4d3aa5311 /doc
parent38ba2c4941ede8d999a0208c50f1ad077ba259da (diff)
manual: Clarify that Drop types cannot be Copy
Diffstat (limited to 'doc')
-rw-r--r--doc/rust.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/rust.md b/doc/rust.md
index 0c8d1c5a140..3f2943f750c 100644
--- a/doc/rust.md
+++ b/doc/rust.md
@@ -2731,6 +2731,7 @@ The kinds are:
   : This kind includes all types that can be copied. All types with
     sendable kind are copyable, as are managed boxes, managed closures,
     trait types, and structural types built out of these.
+    Types with destructors (types that implement `Drop`) can not implement `Copy`.
 _Default_
   : Types with destructors, closure environments,
     and various other _non-first-class_ types,