diff options
Diffstat (limited to 'src/parser/grammar/params.rs')
-rw-r--r-- | src/parser/grammar/params.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/grammar/params.rs b/src/parser/grammar/params.rs index 99fedfc21..efa882394 100644 --- a/src/parser/grammar/params.rs +++ b/src/parser/grammar/params.rs | |||
@@ -5,11 +5,11 @@ use super::*; | |||
5 | // fn b(x: i32) {} | 5 | // fn b(x: i32) {} |
6 | // fn c(x: i32, ) {} | 6 | // fn c(x: i32, ) {} |
7 | // fn d(x: i32, y: ()) {} | 7 | // fn d(x: i32, y: ()) {} |
8 | pub(super) fn list(p: &mut Parser) { | 8 | pub(super) fn param_list(p: &mut Parser) { |
9 | list_(p, true) | 9 | list_(p, true) |
10 | } | 10 | } |
11 | 11 | ||
12 | pub(super) fn list_opt_types(p: &mut Parser) { | 12 | pub(super) fn param_list_opt_types(p: &mut Parser) { |
13 | list_(p, false) | 13 | list_(p, false) |
14 | } | 14 | } |
15 | 15 | ||