Derive Clone for TypeId.

This commit is contained in:
Chris Morgan 2014-11-07 17:12:44 +11:00
parent 45cbdec417
commit 1971e02ec6

View File

@ -536,7 +536,7 @@ extern "rust-intrinsic" {
/// `TypeId` represents a globally unique identifier for a type
#[lang="type_id"] // This needs to be kept in lockstep with the code in trans/intrinsic.rs and
// middle/lang_items.rs
#[deriving(PartialEq, Eq, Show)]
#[deriving(Clone, PartialEq, Eq, Show)]
pub struct TypeId {
t: u64,
}