Remove redundant bounds
This commit is contained in:
parent
ec8b7c9b89
commit
5e98a83717
@ -468,9 +468,6 @@ fn serialize_tuple_struct_visitor(
|
|||||||
|
|
||||||
let visitor_impl_generics = builder.from_generics(generics.clone())
|
let visitor_impl_generics = builder.from_generics(generics.clone())
|
||||||
.add_lifetime_bound("'__a")
|
.add_lifetime_bound("'__a")
|
||||||
.add_ty_param_bound(
|
|
||||||
builder.path().global().ids(&["serde", "ser", "Serialize"]).build()
|
|
||||||
)
|
|
||||||
.lifetime_name("'__a")
|
.lifetime_name("'__a")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
@ -567,9 +564,6 @@ fn serialize_struct_visitor<I>(
|
|||||||
|
|
||||||
let visitor_impl_generics = builder.from_generics(generics.clone())
|
let visitor_impl_generics = builder.from_generics(generics.clone())
|
||||||
.add_lifetime_bound("'__a")
|
.add_lifetime_bound("'__a")
|
||||||
.add_ty_param_bound(
|
|
||||||
builder.path().global().ids(&["serde", "ser", "Serialize"]).build()
|
|
||||||
)
|
|
||||||
.lifetime_name("'__a")
|
.lifetime_name("'__a")
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user