mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-27 04:50:36 +00:00
chore: fix the incorrect symbol
Signed-off-by: jimmycathy <clonecode@outlook.com>
This commit is contained in:
parent
d91f8ba950
commit
88da17ca21
@ -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