syntax: Rename expr_alt to expr_match
This commit is contained in:
parent
92ef17aaeb
commit
bc267c696c
19 changed files with 25 additions and 25 deletions
|
@ -441,8 +441,8 @@ fn noop_fold_expr(e: expr_, fld: ast_fold) -> expr_ {
|
|||
expr_loop(body) => {
|
||||
expr_loop(fld.fold_block(body))
|
||||
}
|
||||
expr_alt(expr, arms, mode) => {
|
||||
expr_alt(fld.fold_expr(expr),
|
||||
expr_match(expr, arms, mode) => {
|
||||
expr_match(fld.fold_expr(expr),
|
||||
vec::map(arms, |x| fld.fold_arm(x)), mode)
|
||||
}
|
||||
expr_fn(proto, decl, body, captures) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue