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 : PartialEq { }
|
||||
|
||||
#[deriving(Show)]
|
||||
#[derive(Show)]
|
||||
struct MyInt { val: int }
|
||||
|
||||
impl PartialEq for MyInt {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue