fix clippy::iter_kv_map
This commit is contained in:
parent
0196c2bd27
commit
ac229c2819
7 changed files with 10 additions and 15 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