mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 18:52:26 +00:00
xml: EnumVariant variant_names for untagged enums
This commit is contained in:
@@ -259,7 +259,7 @@ impl NamedStruct {
|
||||
.map(|field| {
|
||||
let field_index = field.target_field_index();
|
||||
quote! {
|
||||
let ns = Some(self.#field_index);
|
||||
let ns = self.#field_index;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user