chore: turbofish styling
This commit is contained in:
parent
99b93d83a1
commit
754aa62e89
3 changed files with 8 additions and 8 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue