Skip to content

Commit c851d2a

Browse files
committed
std: Fix build errors in sort
1 parent 0ef75a6 commit c851d2a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/libstd/sort.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1146,10 +1146,10 @@ mod big_tests {
11461146
}
11471147

11481148
impl LVal: Ord {
1149-
pure fn lt(other: &LVal) -> bool { self.val < other.val }
1150-
pure fn le(other: &LVal) -> bool { self.val <= other.val }
1151-
pure fn gt(other: &LVal) -> bool { self.val > other.val }
1152-
pure fn ge(other: &LVal) -> bool { self.val >= other.val }
1149+
pure fn lt(other: &a/LVal/&self) -> bool { self.val < other.val }
1150+
pure fn le(other: &a/LVal/&self) -> bool { self.val <= other.val }
1151+
pure fn gt(other: &a/LVal/&self) -> bool { self.val > other.val }
1152+
pure fn ge(other: &a/LVal/&self) -> bool { self.val >= other.val }
11531153
}
11541154
}
11551155

0 commit comments

Comments
 (0)