1
Fork 0

Use derive rather than deriving in tests

This commit is contained in:
Nick Cameron 2014-12-31 17:32:49 +13:00
parent 7506fe5269
commit 30e149231c
213 changed files with 320 additions and 320 deletions

View file

@ -12,7 +12,7 @@ use std::cmp::PartialEq;
trait MyNum : Add<Self,Self> + Sub<Self,Self> + Mul<Self,Self> + PartialEq + Clone { }
#[deriving(Clone, Show)]
#[derive(Clone, Show)]
struct MyInt { val: int }
impl Add<MyInt, MyInt> for MyInt {