aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/expr_extensions.rs
diff options
context:
space:
mode:
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))