Use derive
rather than deriving
in tests
This commit is contained in:
parent
7506fe5269
commit
30e149231c
213 changed files with 320 additions and 320 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue