From 88da17ca21d8bf164fc3afb34dd6433418c2ed51 Mon Sep 17 00:00:00 2001 From: jimmycathy Date: Sun, 16 Mar 2025 13:42:10 +0800 Subject: [PATCH] chore: fix the incorrect symbol Signed-off-by: jimmycathy --- serde_derive/src/ser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serde_derive/src/ser.rs b/serde_derive/src/ser.rs index c92800d5..46be736c 100644 --- a/serde_derive/src/ser.rs +++ b/serde_derive/src/ser.rs @@ -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.