Skip to content

Commit

Permalink
Update codegen.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
sunli829 committed Apr 28, 2022
1 parent ad05baf commit e6640ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/tests/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit e6640ab

Please sign in to comment.