aboutsummaryrefslogtreecommitdiff
path: root/src/grammar/paths.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/grammar/paths.rs')
-rw-r--r--src/grammar/paths.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grammar/paths.rs b/src/grammar/paths.rs
index 6d406645f..c277e2a6b 100644
--- a/src/grammar/paths.rs
+++ b/src/grammar/paths.rs
@@ -75,7 +75,7 @@ fn path_generic_args(p: &mut Parser, mode: Mode) {
75 // test path_fn_trait_args 75 // test path_fn_trait_args
76 // type F = Box<Fn(x: i32) -> ()>; 76 // type F = Box<Fn(x: i32) -> ()>;
77 if p.at(L_PAREN) { 77 if p.at(L_PAREN) {
78 params::param_list(p); 78 params::param_list_opt_patterns(p);
79 fn_ret_type(p); 79 fn_ret_type(p);
80 } else { 80 } else {
81 type_args::type_arg_list(p, false) 81 type_args::type_arg_list(p, false)