Skip to content

Commit 6da4a35

Browse files
committed
Fix elided lifetime
1 parent 24d2ab5 commit 6da4a35

File tree

1 file changed

+1
-1
lines changed
  • src/tools/rust-analyzer/lib/ungrammar/ungrammar2json/src

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/lib/ungrammar/ungrammar2json/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn grammar_to_json(grammar: &Grammar, mut obj: write_json::Object<'_>) {
4343
}
4444
}
4545

46-
fn rule_to_json(grammar: &Grammar, rule: &Rule, mut obj: write_json::Object) {
46+
fn rule_to_json(grammar: &Grammar, rule: &Rule, mut obj: write_json::Object<'_>) {
4747
match rule {
4848
Rule::Labeled { label, rule } => {
4949
obj.string("label", label);

0 commit comments

Comments
 (0)