diff options
Diffstat (limited to 'src/servo/gfx/geometry.rs')
-rw-r--r-- | src/servo/gfx/geometry.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/servo/gfx/geometry.rs b/src/servo/gfx/geometry.rs index 4b9292d3701..b498c236574 100644 --- a/src/servo/gfx/geometry.rs +++ b/src/servo/gfx/geometry.rs @@ -21,15 +21,15 @@ impl au : Num { } impl au : cmp::Ord { - pure fn lt(&&other: au) -> bool { *self < *other } - pure fn le(&&other: au) -> bool { *self <= *other } - pure fn ge(&&other: au) -> bool { *self >= *other } - pure fn gt(&&other: au) -> bool { *self > *other } + pure fn lt(other: &au) -> bool { *self < **other } + pure fn le(other: &au) -> bool { *self <= **other } + pure fn ge(other: &au) -> bool { *self >= **other } + pure fn gt(other: &au) -> bool { *self > **other } } impl au : cmp::Eq { - pure fn eq(&&other: au) -> bool { *self == *other } - pure fn ne(&&other: au) -> bool { *self != *other } + pure fn eq(other: &au) -> bool { *self == **other } + pure fn ne(other: &au) -> bool { *self != **other } } pure fn min(x: au, y: au) -> au { if x < y { x } else { y } } |