Fix some clippy warnings (#1277)

This commit is contained in:
llogiq
2019-12-07 18:47:43 +01:00
committed by Andrew Brown
parent 2c51341888
commit 0d8f8bc71f
10 changed files with 24 additions and 19 deletions

View File

@@ -938,7 +938,7 @@ fn insert_common_epilogue(
.entry(fp_pop_inst)
.and_modify(|insts| {
*insts = insts
.into_iter()
.iter()
.cloned()
.chain(std::iter::once(new_cfa))
.collect::<Box<[_]>>();