Skip to content

Commit

Permalink
lore linter pleasing
Browse files Browse the repository at this point in the history
  • Loading branch information
SaculRennorb committed Feb 15, 2024
1 parent ad623c5 commit b7feded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poem-openapi-derive/src/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ pub(crate) fn generate(args: DeriveInput) -> GeneratorResult<TokenStream> {
None => {
let deserialize_function = match field.deserialize_with {
Some(ref function) => quote! { #function },
None => quote! { #crate_name::types::ParseFromJSON::parse_from_json }
None => quote! { #crate_name::types::ParseFromJSON::parse_from_json },
};

deserialize_fields.push(quote! {
Expand All @@ -213,7 +213,7 @@ pub(crate) fn generate(args: DeriveInput) -> GeneratorResult<TokenStream> {
value
};
})
},
}
}
} else {
if args.deny_unknown_fields {
Expand Down

0 comments on commit b7feded

Please sign in to comment.