diff options
Diffstat (limited to 'crates/libsyntax2/src/grammar/type_args.rs')
-rw-r--r-- | crates/libsyntax2/src/grammar/type_args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/libsyntax2/src/grammar/type_args.rs b/crates/libsyntax2/src/grammar/type_args.rs index 5b960f10b..29ff6e534 100644 --- a/crates/libsyntax2/src/grammar/type_args.rs +++ b/crates/libsyntax2/src/grammar/type_args.rs | |||
@@ -1,6 +1,6 @@ | |||
1 | use super::*; | 1 | use super::*; |
2 | 2 | ||
3 | pub(super) fn type_arg_list(p: &mut Parser, colon_colon_required: bool) { | 3 | pub(super) fn opt_type_arg_list(p: &mut Parser, colon_colon_required: bool) { |
4 | let m; | 4 | let m; |
5 | match (colon_colon_required, p.nth(0), p.nth(1)) { | 5 | match (colon_colon_required, p.nth(0), p.nth(1)) { |
6 | (_, COLONCOLON, L_ANGLE) => { | 6 | (_, COLONCOLON, L_ANGLE) => { |