mirror of https://github.com/astral-sh/ruff
Fix Message.cmp
This commit is contained in:
parent
8698c06c36
commit
b48538d7db
|
|
@ -20,7 +20,7 @@ impl Ord for Message {
|
||||||
(&self.filename, self.location.row(), self.location.column()).cmp(&(
|
(&self.filename, self.location.row(), self.location.column()).cmp(&(
|
||||||
&other.filename,
|
&other.filename,
|
||||||
other.location.row(),
|
other.location.row(),
|
||||||
self.location.column(),
|
other.location.column(),
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue