about summary refs log tree commit diff
path: root/src/libcore/raw.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore/raw.rs')
-rw-r--r--src/libcore/raw.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/raw.rs b/src/libcore/raw.rs
index d70c96d8c16..3bef1d15363 100644
--- a/src/libcore/raw.rs
+++ b/src/libcore/raw.rs
@@ -33,7 +33,7 @@ impl<T> Copy for Slice<T> {}
 
 /// The representation of a Rust closure
 #[repr(C)]
-#[deriving(Copy)]
+#[derive(Copy)]
 pub struct Closure {
     pub code: *mut (),
     pub env: *mut (),
@@ -44,7 +44,7 @@ pub struct Closure {
 /// This struct does not have a `Repr` implementation
 /// because there is no way to refer to all trait objects generically.
 #[repr(C)]
-#[deriving(Copy)]
+#[derive(Copy)]
 pub struct TraitObject {
     pub data: *mut (),
     pub vtable: *mut (),