Trait constraints are separated by space, not comma
This commit is contained in:
parent
ecdc8aae41
commit
10c9d7921d
14 changed files with 21 additions and 21 deletions
|
@ -1,6 +1,6 @@
|
|||
use cmp::Eq;
|
||||
|
||||
trait MyNum : Add<self,self>, Sub<self,self>, Mul<self,self>, Eq { }
|
||||
trait MyNum : Add<self,self> Sub<self,self> Mul<self,self> Eq { }
|
||||
|
||||
struct MyInt { val: int }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue