aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 16:08:58 +0100
committerAleksey Kladov <[email protected]>2020-07-31 16:08:58 +0100
commit633aace41108b74fe6c93c5ab04272067db033f9 (patch)
treed071a03fb2c191629da532c14c002c30328d1e04 /crates/ra_hir_def/src
parentbfcee63e75d6feb21cafbdf3887e0efd508b6b2e (diff)
Rename LambdaExpr -> ClosureExpr
Diffstat (limited to 'crates/ra_hir_def/src')
-rw-r--r--crates/ra_hir_def/src/body/lower.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/body/lower.rs b/crates/ra_hir_def/src/body/lower.rs
index 67d7041fc..99d723402 100644
--- a/crates/ra_hir_def/src/body/lower.rs
+++ b/crates/ra_hir_def/src/body/lower.rs
@@ -473,7 +473,7 @@ impl ExprCollector<'_> {
473 self.alloc_expr(Expr::Missing, syntax_ptr) 473 self.alloc_expr(Expr::Missing, syntax_ptr)
474 } 474 }
475 } 475 }
476 ast::Expr::LambdaExpr(e) => { 476 ast::Expr::ClosureExpr(e) => {
477 let mut args = Vec::new(); 477 let mut args = Vec::new();
478 let mut arg_types = Vec::new(); 478 let mut arg_types = Vec::new();
479 if let Some(pl) = e.param_list() { 479 if let Some(pl) = e.param_list() {