about summary refs log tree commit diff
path: root/src/libstd/sort.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-10-25 15:34:10 -0700
committerBrian Anderson <banderson@mozilla.com>2012-10-25 15:34:20 -0700
commitc851d2a1bc7683d0eb662ac1fcf6aecfe90cce4f (patch)
treed3f3f6a3cdcda7bcc59513bb3f766359d2fe739e /src/libstd/sort.rs
parent0ef75a69659fa16604b0001afaa63f00fe18c36e (diff)
downloadrust-c851d2a1bc7683d0eb662ac1fcf6aecfe90cce4f.tar.gz
rust-c851d2a1bc7683d0eb662ac1fcf6aecfe90cce4f.zip
std: Fix build errors in sort
Diffstat (limited to 'src/libstd/sort.rs')
-rw-r--r--src/libstd/sort.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libstd/sort.rs b/src/libstd/sort.rs
index 514a47335e2..5a86d756df5 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 }
     }
 }