Fix run pass tests

This commit is contained in:
Jorge Aparicio 2014-12-15 18:24:07 -05:00
parent 5f347d7708
commit 5d49999ad3

View File

@ -31,13 +31,13 @@ impl ops::Sub<Point,Point> for Point {
}
impl ops::Neg<Point> for Point {
fn neg(&self) -> Point {
fn neg(self) -> Point {
Point {x: -self.x, y: -self.y}
}
}
impl ops::Not<Point> for Point {
fn not(&self) -> Point {
fn not(self) -> Point {
Point {x: !self.x, y: !self.y }
}
}