mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-28 21:41:24 +00:00
Merge pull request #2910 from jimmycathy/master
chore: fix the incorrect symbol
This commit is contained in:
commit
a685dcf680
@ -150,7 +150,7 @@ fn build_generics(cont: &Container) -> syn::Generics {
|
||||
}
|
||||
|
||||
// Fields with a `skip_serializing` or `serialize_with` attribute, or which
|
||||
// belong to a variant with a 'skip_serializing` or `serialize_with` attribute,
|
||||
// belong to a variant with a `skip_serializing` or `serialize_with` attribute,
|
||||
// are not serialized by us so we do not generate a bound. Fields with a `bound`
|
||||
// attribute specify their own bound so we do not generate one. All other fields
|
||||
// may need a `T: Serialize` bound where T is the type of the field.
|
||||
|
Loading…
x
Reference in New Issue
Block a user