Skip to content

Commit 07fbb1b

Browse files
committed
Cleanup macro-expanded code in rustc_type_ir
1 parent 1ef685e commit 07fbb1b

File tree

2 files changed

+199
-377
lines changed

2 files changed

+199
-377
lines changed

compiler/rustc_span/src/def_id.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ impl Ord for DefId {
274274
impl PartialOrd for DefId {
275275
#[inline]
276276
fn partial_cmp(&self, other: &DefId) -> Option<std::cmp::Ordering> {
277-
Some(Ord::cmp(self, other))
277+
Some(self.cmp(other))
278278
}
279279
}
280280

0 commit comments

Comments
 (0)