Update codegen.rs

This commit is contained in:
Sunli 2022-04-28 12:28:44 +08:00
parent b11cfc8f8d
commit bfc471ca52
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ struct GraphQLParser;
.parse::<proc_macro2::TokenStream>()
.unwrap();
let tokens = pest_generator::derive_parser(input.into(), true);
let tokens = pest_generator::derive_parser(input, true);
let current =
String::from_utf8(fs::read("./src/parse/generated.rs").unwrap_or_default()).unwrap();