rustc: Add an "ne" method to the Eq trait, and implement it everywhere
This commit is contained in:
@@ -3626,6 +3626,7 @@ impl restriction : cmp::Eq {
|
||||
pure fn eq(&&other: restriction) -> bool {
|
||||
(self as uint) == (other as uint)
|
||||
}
|
||||
pure fn ne(&&other: restriction) -> bool { !self.eq(other) }
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user