Skip to content

Commit a685dcf

Browse files
authored
Merge pull request #2910 from jimmycathy/master
chore: fix the incorrect symbol
2 parents d91f8ba + 88da17c commit a685dcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

serde_derive/src/ser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ fn build_generics(cont: &Container) -> syn::Generics {
150150
}
151151

152152
// Fields with a `skip_serializing` or `serialize_with` attribute, or which
153-
// belong to a variant with a 'skip_serializing` or `serialize_with` attribute,
153+
// belong to a variant with a `skip_serializing` or `serialize_with` attribute,
154154
// are not serialized by us so we do not generate a bound. Fields with a `bound`
155155
// attribute specify their own bound so we do not generate one. All other fields
156156
// may need a `T: Serialize` bound where T is the type of the field.

0 commit comments

Comments
 (0)