fix clippy::{filter_map_identiy, map_identity, manual_flatten}
This commit is contained in:
parent
2816486986
commit
d666f6bf22
3 changed files with 14 additions and 18 deletions
|
@ -89,7 +89,7 @@ impl<'tcx> Partitioner<'tcx> for DefaultPartitioning {
|
|||
}
|
||||
|
||||
PreInliningPartitioning {
|
||||
codegen_units: codegen_units.into_values().map(|codegen_unit| codegen_unit).collect(),
|
||||
codegen_units: codegen_units.into_values().collect(),
|
||||
roots,
|
||||
internalization_candidates,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue