From 5e98a8371722507ce0ef0e4c04109ad9d2248db0 Mon Sep 17 00:00:00 2001 From: Erick Tryzelaar Date: Sat, 14 Mar 2015 15:03:41 -0700 Subject: [PATCH] Remove redundant bounds --- serde_macros/src/ser.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/serde_macros/src/ser.rs b/serde_macros/src/ser.rs index 54621f9a..7d48de6c 100644 --- a/serde_macros/src/ser.rs +++ b/serde_macros/src/ser.rs @@ -468,9 +468,6 @@ fn serialize_tuple_struct_visitor( let visitor_impl_generics = builder.from_generics(generics.clone()) .add_lifetime_bound("'__a") - .add_ty_param_bound( - builder.path().global().ids(&["serde", "ser", "Serialize"]).build() - ) .lifetime_name("'__a") .build(); @@ -567,9 +564,6 @@ fn serialize_struct_visitor( let visitor_impl_generics = builder.from_generics(generics.clone()) .add_lifetime_bound("'__a") - .add_ty_param_bound( - builder.path().global().ids(&["serde", "ser", "Serialize"]).build() - ) .lifetime_name("'__a") .build();