chore: turbofish styling

This commit is contained in:
Amaan Qureshi 2024-03-16 20:11:07 -04:00
parent 99b93d83a1
commit 754aa62e89
3 changed files with 8 additions and 8 deletions

View file

@ -92,7 +92,7 @@ pub(crate) struct GrammarJSON {
}
pub(crate) fn parse_grammar(input: &str) -> Result<InputGrammar> {
let grammar_json: GrammarJSON = serde_json::from_str(input)?;
let grammar_json = serde_json::from_str::<GrammarJSON>(input)?;
let mut variables = Vec::with_capacity(grammar_json.rules.len());
for (name, value) in grammar_json.rules {