aboutsummaryrefslogtreecommitdiff
path: root/src/parser/event_parser/grammar/items.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser/event_parser/grammar/items.rs')
-rw-r--r--src/parser/event_parser/grammar/items.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parser/event_parser/grammar/items.rs b/src/parser/event_parser/grammar/items.rs
index b6d260fd8..68b444b69 100644
--- a/src/parser/event_parser/grammar/items.rs
+++ b/src/parser/event_parser/grammar/items.rs
@@ -58,7 +58,7 @@ fn struct_field(p: &mut Parser) -> bool {
58 58
59fn fn_item(p: &mut Parser) { 59fn fn_item(p: &mut Parser) {
60 p.expect(IDENT) && p.expect(L_PAREN) && p.expect(R_PAREN) 60 p.expect(IDENT) && p.expect(L_PAREN) && p.expect(R_PAREN)
61 && p.curly_block(|p| ()); 61 && p.curly_block(|_| ());
62} 62}
63 63
64 64