From c851d2a1bc7683d0eb662ac1fcf6aecfe90cce4f Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Thu, 25 Oct 2012 15:34:10 -0700 Subject: [PATCH] std: Fix build errors in sort --- src/libstd/sort.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/libstd/sort.rs b/src/libstd/sort.rs index 514a47335e2e..5a86d756df51 100644 --- a/src/libstd/sort.rs +++ b/src/libstd/sort.rs @@ -1146,10 +1146,10 @@ mod big_tests { } impl LVal: Ord { - pure fn lt(other: &LVal) -> bool { self.val < other.val } - pure fn le(other: &LVal) -> bool { self.val <= other.val } - pure fn gt(other: &LVal) -> bool { self.val > other.val } - pure fn ge(other: &LVal) -> bool { self.val >= other.val } + pure fn lt(other: &a/LVal/&self) -> bool { self.val < other.val } + pure fn le(other: &a/LVal/&self) -> bool { self.val <= other.val } + pure fn gt(other: &a/LVal/&self) -> bool { self.val > other.val } + pure fn ge(other: &a/LVal/&self) -> bool { self.val >= other.val } } }