Rollup merge of #110124 - Nilstrieb:📎-told-me-so, r=compiler-errors
Some clippy fixes in the compiler
Best reviewed commit-by-commit 📎.
This commit is contained in:
commit
97921abc06
54 changed files with 141 additions and 139 deletions
|
@ -302,7 +302,7 @@ impl<'tcx> InherentOverlapChecker<'tcx> {
|
|||
.iter()
|
||||
.flatten()
|
||||
.map(|r| r.impl_blocks.len() as isize - avg as isize)
|
||||
.map(|v| v.abs() as usize)
|
||||
.map(|v| v.unsigned_abs())
|
||||
.sum::<usize>();
|
||||
s / connected_regions.len()
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue