diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-10-25 15:34:10 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-10-25 15:34:20 -0700 |
| commit | c851d2a1bc7683d0eb662ac1fcf6aecfe90cce4f (patch) | |
| tree | d3f3f6a3cdcda7bcc59513bb3f766359d2fe739e /src/libstd/sort.rs | |
| parent | 0ef75a69659fa16604b0001afaa63f00fe18c36e (diff) | |
| download | rust-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.rs | 8 |
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 } } } |
