refactor: use shorthand fields
This commit is contained in:
parent
1dceaddfbe
commit
eca11b99a7
57 changed files with 68 additions and 68 deletions
|
@ -495,7 +495,7 @@ impl<'b, 'tcx> ElaborateDropsCtxt<'b, 'tcx> {
|
|||
let target = self.patch.new_block(BasicBlockData {
|
||||
statements: vec![assign],
|
||||
terminator: Some(Terminator {
|
||||
kind: TerminatorKind::Goto { target: target },
|
||||
kind: TerminatorKind::Goto { target },
|
||||
..*terminator
|
||||
}),
|
||||
is_cleanup: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue