Skip to content

Commit 1971e02

Browse files
committed
Derive Clone for TypeId.
1 parent 45cbdec commit 1971e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/intrinsics.rs

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

0 commit comments

Comments
 (0)