aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/expr_extensions.rs
diff options
context:
space:
mode:
authorLenard Pratt <[email protected]>2019-04-05 11:19:25 +0100
committerLenard Pratt <[email protected]>2019-04-07 13:23:18 +0100
commitb27fa33a9f459feb442682026670ca8e6001a424 (patch)
tree141bc3c57c8b1436e188abb6fd73468567a7d411 /crates/ra_syntax/src/ast/expr_extensions.rs
parente175921932615cb97eaa5cfd11d940cbd1473cac (diff)
updated snapshots
Diffstat (limited to 'crates/ra_syntax/src/ast/expr_extensions.rs')
-rw-r--r--crates/ra_syntax/src/ast/expr_extensions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/expr_extensions.rs b/crates/ra_syntax/src/ast/expr_extensions.rs
index d21ec80c3..9484c3b9b 100644
--- a/crates/ra_syntax/src/ast/expr_extensions.rs
+++ b/crates/ra_syntax/src/ast/expr_extensions.rs
@@ -203,7 +203,7 @@ impl ast::ArrayExpr {
203 if self.is_repeat() { 203 if self.is_repeat() {
204 ArrayExprKind::Repeat { 204 ArrayExprKind::Repeat {
205 initializer: children(self).nth(0), 205 initializer: children(self).nth(0),
206 repeat: children(self).nth(2), 206 repeat: children(self).nth(1),
207 } 207 }
208 } else { 208 } else {
209 ArrayExprKind::ElementList(children(self)) 209 ArrayExprKind::ElementList(children(self))