mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 00:08:01 +00:00
Simplify the trait paths used in bounds
This commit is contained in:
@@ -56,7 +56,7 @@ fn build_impl_generics(item: &Item) -> syn::Generics {
|
||||
None => {
|
||||
bound::with_bound(item, &generics,
|
||||
needs_serialize_bound,
|
||||
&aster::path().ids(&["_serde", "ser", "Serialize"]).build())
|
||||
&aster::path().ids(&["_serde", "Serialize"]).build())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user