Cleanup macro-expanded code in rustc_type_ir
This commit is contained in:
parent
1ef685ea39
commit
07fbb1b372
2 changed files with 189 additions and 367 deletions
|
@ -274,7 +274,7 @@ impl Ord for DefId {
|
|||
impl PartialOrd for DefId {
|
||||
#[inline]
|
||||
fn partial_cmp(&self, other: &DefId) -> Option<std::cmp::Ordering> {
|
||||
Some(Ord::cmp(self, other))
|
||||
Some(self.cmp(other))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue