aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2018-12-23 12:22:29 +0000
committerFlorian Diebold <[email protected]>2018-12-23 13:01:50 +0000
commit93ffbf80c632a7d38fc8bbdf6357bfd26a96a35a (patch)
tree59c9f26c70ffa45f599b711cd2b6233e865ccd8b /crates/ra_syntax/src/ast
parent5d609370900402db84beb3d7e28487256c6042c2 (diff)
Make let statements kind of work
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r--crates/ra_syntax/src/ast/generated.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs
index 74bf4d3cc..b15c4ef6f 100644
--- a/crates/ra_syntax/src/ast/generated.rs
+++ b/crates/ra_syntax/src/ast/generated.rs
@@ -1561,6 +1561,10 @@ impl<'a> LetStmt<'a> {
1561 super::child_opt(self) 1561 super::child_opt(self)
1562 } 1562 }
1563 1563
1564 pub fn type_ref(self) -> Option<TypeRef<'a>> {
1565 super::child_opt(self)
1566 }
1567
1564 pub fn initializer(self) -> Option<Expr<'a>> { 1568 pub fn initializer(self) -> Option<Expr<'a>> {
1565 super::child_opt(self) 1569 super::child_opt(self)
1566 } 1570 }