Rollup merge of #109846 - matthiaskrgr:clippy2023_04_III, r=Nilstrieb
more clippy::complexity fixes (iter_kv_map, map_flatten, nonminimal_bool)
This commit is contained in:
commit
59f394bf86
16 changed files with 21 additions and 30 deletions
|
@ -89,10 +89,7 @@ impl<'tcx> Partitioner<'tcx> for DefaultPartitioning {
|
|||
}
|
||||
|
||||
PreInliningPartitioning {
|
||||
codegen_units: codegen_units
|
||||
.into_iter()
|
||||
.map(|(_, codegen_unit)| codegen_unit)
|
||||
.collect(),
|
||||
codegen_units: codegen_units.into_values().map(|codegen_unit| codegen_unit).collect(),
|
||||
roots,
|
||||
internalization_candidates,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue