We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24d2ab5 commit 6da4a35Copy full SHA for 6da4a35
src/tools/rust-analyzer/lib/ungrammar/ungrammar2json/src/main.rs
@@ -43,7 +43,7 @@ fn grammar_to_json(grammar: &Grammar, mut obj: write_json::Object<'_>) {
43
}
44
45
46
-fn rule_to_json(grammar: &Grammar, rule: &Rule, mut obj: write_json::Object) {
+fn rule_to_json(grammar: &Grammar, rule: &Rule, mut obj: write_json::Object<'_>) {
47
match rule {
48
Rule::Labeled { label, rule } => {
49
obj.string("label", label);
0 commit comments