diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-16 15:11:19 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-01-16 15:11:19 +0000 |
commit | 454cc313589fb17de92d6f3dbf576a5ea5f4adf2 (patch) | |
tree | e67129e4e514e140463d8f0f7bd7556793cac484 /crates/ra_syntax/src/ast/generated.rs | |
parent | d75a0368f5048243d6561e42e77835f6f574b321 (diff) | |
parent | 0aedd4fb2f28ec24902d26c7d8a24d6146263d2f (diff) |
Merge #524
524: Implement array inference r=flodiebold a=h-michael
related #394
Co-authored-by: Hirokazu Hata <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/ast/generated.rs')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index 3471d5226..2d9603d90 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -67,7 +67,11 @@ impl AstNode for ArrayExpr { | |||
67 | } | 67 | } |
68 | 68 | ||
69 | 69 | ||
70 | impl ArrayExpr {} | 70 | impl ArrayExpr { |
71 | pub fn exprs(&self) -> impl Iterator<Item = &Expr> { | ||
72 | super::children(self) | ||
73 | } | ||
74 | } | ||
71 | 75 | ||
72 | // ArrayType | 76 | // ArrayType |
73 | #[derive(Debug, PartialEq, Eq, Hash)] | 77 | #[derive(Debug, PartialEq, Eq, Hash)] |