mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
Rename LambdaExpr -> ClosureExpr
This commit is contained in:
parent
bfcee63e75
commit
633aace411
19 changed files with 59 additions and 54 deletions
|
@ -250,7 +250,7 @@ fn lambda_expr(p: &mut Parser) -> CompletedMarker {
|
|||
p.error("expected expression");
|
||||
}
|
||||
}
|
||||
m.complete(p, LAMBDA_EXPR)
|
||||
m.complete(p, CLOSURE_EXPR)
|
||||
}
|
||||
|
||||
// test if_expr
|
||||
|
|
|
@ -173,7 +173,7 @@ pub enum SyntaxKind {
|
|||
ARRAY_EXPR,
|
||||
PAREN_EXPR,
|
||||
PATH_EXPR,
|
||||
LAMBDA_EXPR,
|
||||
CLOSURE_EXPR,
|
||||
IF_EXPR,
|
||||
WHILE_EXPR,
|
||||
CONDITION,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue