Skip to content

Commit

Permalink
manual: Clarify that Drop types cannot be Copy
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Nov 30, 2012
1 parent 38ba2c4 commit 946427b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/rust.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 946427b

Please sign in to comment.