mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
fix scramerr... THREE!!
This commit is contained in:
parent
b13c2f9563
commit
60f57d50f2
1 changed files with 2 additions and 2 deletions
|
@ -338,8 +338,8 @@ impl Ord for JsChange {
|
||||||
fn cmp(&self, other: &Self) -> std::cmp::Ordering {
|
fn cmp(&self, other: &Self) -> std::cmp::Ordering {
|
||||||
match self.get_span().start.cmp(&other.get_span().start) {
|
match self.get_span().start.cmp(&other.get_span().start) {
|
||||||
Ordering::Equal => match (self, other) {
|
Ordering::Equal => match (self, other) {
|
||||||
(Self::ScramErrFn { .. }, _) => Ordering::Greater,
|
(Self::ScramErrFn { .. }, _) => Ordering::Less,
|
||||||
(_, Self::ScramErrFn { .. }) => Ordering::Less,
|
(_, Self::ScramErrFn { .. }) => Ordering::Greater,
|
||||||
_ => Ordering::Equal,
|
_ => Ordering::Equal,
|
||||||
},
|
},
|
||||||
x => x,
|
x => x,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue