mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
std: Fix build errors in sort
This commit is contained in:
parent
0ef75a6965
commit
c851d2a1bc
@ -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 }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user