Skip to content

Commit

Permalink
Fix syntax error when using schema_with
Browse files Browse the repository at this point in the history
  • Loading branch information
GREsau committed Sep 17, 2023
1 parent 12ea862 commit 3da1b3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemars_derive/src/schema_exprs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn type_for_schema(with_attr: &WithAttr) -> (syn::Type, Option<TokenStream>) {

fn schema_id() -> std::borrow::Cow<'static, str> {
std::borrow::Cow::Borrowed(std::concat!(
"_SchemarsSchemaWithFunction/"
"_SchemarsSchemaWithFunction/",
std::module_path!(),
"/",
#fn_name
Expand Down

0 comments on commit 3da1b3e

Please sign in to comment.