mirror of
https://github.com/openharmony/third_party_rust_bindgen.git
synced 2026-07-20 22:56:53 -04:00
codegen: Use shorthand initialization in EnumBuilder.
This was introduced in #1850.
This commit is contained in:
+2
-2
@@ -2515,8 +2515,8 @@ impl<'a> EnumBuilder<'a> {
|
||||
}
|
||||
|
||||
EnumBuilder::Consts {
|
||||
repr: repr,
|
||||
variants: variants,
|
||||
repr,
|
||||
variants,
|
||||
codegen_depth: enum_codegen_depth,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user