diff --git a/compiler/rustc_borrowck/src/region_infer/mod.rs b/compiler/rustc_borrowck/src/region_infer/mod.rs index 33cf47c00e5..ec8ba5a7a81 100644 --- a/compiler/rustc_borrowck/src/region_infer/mod.rs +++ b/compiler/rustc_borrowck/src/region_infer/mod.rs @@ -1363,10 +1363,7 @@ fn eval_outlives(&self, sup_region: RegionVid, sub_region: RegionVid) -> bool { } let result = self.scc_values.contains_points(sup_region_scc, sub_region_scc); - debug!( - "returning {} because of comparison between points in sup/sub", - result - ); + debug!("returning {} because of comparison between points in sup/sub", result); result } diff --git a/compiler/rustc_infer/src/infer/outlives/test_type_match.rs b/compiler/rustc_infer/src/infer/outlives/test_type_match.rs index 645c2df341b..9f71ebae99e 100644 --- a/compiler/rustc_infer/src/infer/outlives/test_type_match.rs +++ b/compiler/rustc_infer/src/infer/outlives/test_type_match.rs @@ -174,11 +174,7 @@ fn regions( #[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")]