Skip to content

Commit e93e105

Browse files
committed
run x.py fmt
1 parent 9118faf commit e93e105

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

compiler/rustc_borrowck/src/region_infer/mod.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -1363,10 +1363,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
13631363
}
13641364

13651365
let result = self.scc_values.contains_points(sup_region_scc, sub_region_scc);
1366-
debug!(
1367-
"returning {} because of comparison between points in sup/sub",
1368-
result
1369-
);
1366+
debug!("returning {} because of comparison between points in sup/sub", result);
13701367
result
13711368
}
13721369

compiler/rustc_infer/src/infer/outlives/test_type_match.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,7 @@ impl<'tcx> TypeRelation<'tcx> for Match<'tcx> {
174174

175175
#[instrument(skip(self), level = "debug")]
176176
fn tys(&mut self, pattern: Ty<'tcx>, value: Ty<'tcx>) -> RelateResult<'tcx, Ty<'tcx>> {
177-
if pattern == value {
178-
Ok(pattern)
179-
} else {
180-
relate::super_relate_tys(self, pattern, value)
181-
}
177+
if pattern == value { Ok(pattern) } else { relate::super_relate_tys(self, pattern, value) }
182178
}
183179

184180
#[instrument(skip(self), level = "debug")]

0 commit comments

Comments
 (0)