1
Fork 0

Cleanup macro-expanded code in rustc_type_ir

This commit is contained in:
Maybe Waffle 2022-12-06 11:17:49 +00:00
parent 1ef685ea39
commit 07fbb1b372
2 changed files with 189 additions and 367 deletions

View file

@ -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))
}
}