run x.py fmt
This commit is contained in:
parent
9118fafd40
commit
e93e10516e
2 changed files with 2 additions and 9 deletions
|
@ -174,11 +174,7 @@ impl<'tcx> TypeRelation<'tcx> for Match<'tcx> {
|
|||
|
||||
#[instrument(skip(self), level = "debug")]
|
||||
fn tys(&mut self, pattern: Ty<'tcx>, value: Ty<'tcx>) -> RelateResult<'tcx, Ty<'tcx>> {
|
||||
if pattern == value {
|
||||
Ok(pattern)
|
||||
} else {
|
||||
relate::super_relate_tys(self, pattern, value)
|
||||
}
|
||||
if pattern == value { Ok(pattern) } else { relate::super_relate_tys(self, pattern, value) }
|
||||
}
|
||||
|
||||
#[instrument(skip(self), level = "debug")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue