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
|
@ -22,7 +22,7 @@ fn test_rec() {
|
|||
assert_eq!(rs.i, 100);
|
||||
}
|
||||
|
||||
#[deriving(Show)]
|
||||
#[derive(Show)]
|
||||
enum mood { happy, sad, }
|
||||
|
||||
impl Copy for mood {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue