diff --git a/serde_macros/src/de.rs b/serde_macros/src/de.rs index 2372232a..ca9acbd3 100644 --- a/serde_macros/src/de.rs +++ b/serde_macros/src/de.rs @@ -163,7 +163,7 @@ fn deserialize_visitor( ) -> (P, P, P, ast::Generics) { if trait_generics.ty_params.is_empty() && forward_tys.is_empty() { ( - builder.item().tuple_struct("__Visitor").build(), + builder.item().tuple_struct("__Visitor").build(), builder.ty().id("__Visitor"), builder.expr().id("__Visitor"), trait_generics.clone(), @@ -693,7 +693,7 @@ fn deserialize_field_visitor( } } ).unwrap(), - ] + ] } fn deserialize_struct_visitor(