rustc: Add an "ne" method to the Eq trait, and implement it everywhere
This commit is contained in:
@@ -28,6 +28,7 @@ impl path_elt : cmp::Eq {
|
||||
}
|
||||
}
|
||||
}
|
||||
pure fn ne(&&other: path_elt) -> bool { !self.eq(other) }
|
||||
}
|
||||
|
||||
type path = ~[path_elt];
|
||||
|
||||
Reference in New Issue
Block a user