Delete double reference when setting up adjacently tagged variant seed

This commit is contained in:
David Tolnay 2023-08-01 22:54:47 -07:00
parent ef4f860384
commit 4aa54222f4
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -1484,7 +1484,7 @@ fn deserialize_adjacently_tagged_enum(
let variant_seed = quote! {
_serde::__private::de::AdjacentlyTaggedEnumVariantSeed::<__Field> {
enum_name: #rust_name,
variants: &VARIANTS,
variants: VARIANTS,
fields_enum: _serde::__private::PhantomData
}
};