format err
This commit is contained in:
parent
2d2c5e118a
commit
831ebfc961
1 changed files with 3 additions and 5 deletions
|
@ -174,9 +174,7 @@ impl<'tcx> MirPatch<'tcx> {
|
|||
|
||||
for target in terminator_targets.iter().rev() {
|
||||
let stmt = statements.pop().unwrap();
|
||||
body[*target]
|
||||
.statements
|
||||
.insert(0, stmt);
|
||||
body[*target].statements.insert(0, stmt);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue