diff options
author | Aleksey Kladov <[email protected]> | 2018-08-08 16:34:26 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-08 16:34:26 +0100 |
commit | 8f21afacfc981e93f2ad78cd340e9b6c0e821d92 (patch) | |
tree | de7edde0b99d913c9f6ec049f794e71a26f1cecc /src/grammar/types.rs | |
parent | de7b1887ae46c78c3c0abf6d264b2649b1b5cf0b (diff) |
Optional patterns in fn types
Diffstat (limited to 'src/grammar/types.rs')
-rw-r--r-- | src/grammar/types.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grammar/types.rs b/src/grammar/types.rs index 03a087acd..c8ced3d28 100644 --- a/src/grammar/types.rs +++ b/src/grammar/types.rs | |||
@@ -166,7 +166,7 @@ fn fn_pointer_type(p: &mut Parser) { | |||
166 | return; | 166 | return; |
167 | } | 167 | } |
168 | 168 | ||
169 | params::param_list(p); | 169 | params::param_list_opt_patterns(p); |
170 | // test fn_pointer_type_with_ret | 170 | // test fn_pointer_type_with_ret |
171 | // type F = fn() -> (); | 171 | // type F = fn() -> (); |
172 | fn_ret_type(p); | 172 | fn_ret_type(p); |