Specify full path for String (#19)
This commit is contained in:
parent
3e1ab76c21
commit
873ab3ae02
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ pub fn derive_json_schema(input: proc_macro::TokenStream) -> proc_macro::TokenSt
|
|||
let impl_block = quote! {
|
||||
#[automatically_derived]
|
||||
impl #impl_generics schemars::JsonSchema for #type_name #ty_generics #where_clause {
|
||||
fn schema_name() -> String {
|
||||
fn schema_name() -> std::string::String {
|
||||
#schema_name
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue