Skip to content

Commit

Permalink
codegen: Use shorthand initialization in VTable::new.
Browse files Browse the repository at this point in the history
  • Loading branch information
emilio committed Aug 29, 2020
1 parent 91d9600 commit 57db723
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/codegen/mod.rs
Expand Up @@ -987,9 +987,9 @@ impl<'a> Vtable<'a> {
base_classes: &'a [Base],
) -> Self {
Vtable {
item_id: item_id,
methods: methods,
base_classes: base_classes,
item_id,
methods,
base_classes,
}
}
}
Expand Down

0 comments on commit 57db723

Please sign in to comment.