refactor: Rename const_arg_content to const_arg_expr

This commit is contained in:
Steven Joruk 2022-03-11 20:38:03 +00:00
parent 972f50da2d
commit e84453c47f
2 changed files with 3 additions and 3 deletions

View file

@ -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);
}