sed -i -s 's/#\[deriving(/#\[derive(/g' **/*.rs

This commit is contained in:
Jorge Aparicio
2015-01-03 22:54:18 -05:00
parent 8c5bb80d9b
commit 351409a622
231 changed files with 1115 additions and 1115 deletions

View File

@@ -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 (),