Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/parser/src/grammar/generic_args.rs')
| -rw-r--r-- | crates/parser/src/grammar/generic_args.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/parser/src/grammar/generic_args.rs b/crates/parser/src/grammar/generic_args.rs index bba312009b..762d0218c1 100644 --- a/crates/parser/src/grammar/generic_args.rs +++ b/crates/parser/src/grammar/generic_args.rs @@ -72,7 +72,7 @@ fn lifetime_arg(p: &mut Parser) { m.complete(p, LIFETIME_ARG); } -pub(super) fn const_arg_content(p: &mut Parser) { +pub(super) fn const_arg_expr(p: &mut Parser) { // The tests in here are really for `const_arg`, which wraps the content // CONST_ARG. match p.current() { @@ -113,7 +113,7 @@ pub(super) fn const_arg_content(p: &mut Parser) { // type T = S<92>; pub(super) fn const_arg(p: &mut Parser) { let m = p.start(); - const_arg_content(p); + const_arg_expr(p); m.complete(p, CONST_ARG); } |