Remove redundant bounds

This commit is contained in:
Erick Tryzelaar 2015-03-14 15:03:41 -07:00
parent ec8b7c9b89
commit 5e98a83717

View File

@ -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<I>(
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();