Skip to content

Commit

Permalink
Delete double reference when setting up adjacently tagged variant seed
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Aug 2, 2023
1 parent ef4f860 commit 4aa5422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serde_derive/src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
};
Expand Down

0 comments on commit 4aa5422

Please sign in to comment.