Skip to content

Commit

Permalink
Dont rely on listed serde_json crate
Browse files Browse the repository at this point in the history
  • Loading branch information
juhaku committed Mar 29, 2023
1 parent dcb15d3 commit a499c64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utoipa-gen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2672,9 +2672,9 @@ impl ToTokens for AnyValue {
Self::DefaultTrait {
struct_ident,
field_ident,
} => tokens.extend(
quote! {::serde_json::to_value(#struct_ident::default().#field_ident).unwrap()},
),
} => tokens.extend(quote! {
serde_json::to_value(#struct_ident::default().#field_ident).unwrap()
}),
}
}
}
Expand Down

0 comments on commit a499c64

Please sign in to comment.