Skip to content

Commit 4aa5422

Browse files
committed
Delete double reference when setting up adjacently tagged variant seed
1 parent ef4f860 commit 4aa5422

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serde_derive/src/de.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ fn deserialize_adjacently_tagged_enum(
14841484
let variant_seed = quote! {
14851485
_serde::__private::de::AdjacentlyTaggedEnumVariantSeed::<__Field> {
14861486
enum_name: #rust_name,
1487-
variants: &VARIANTS,
1487+
variants: VARIANTS,
14881488
fields_enum: _serde::__private::PhantomData
14891489
}
14901490
};

0 commit comments

Comments
 (0)