aboutsummaryrefslogtreecommitdiffstats
path: root/lua/tests/indent/rust/array.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lua/tests/indent/rust/array.rs')
-rw-r--r--lua/tests/indent/rust/array.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/tests/indent/rust/array.rs b/lua/tests/indent/rust/array.rs
new file mode 100644
index 000000000..68344e0ee
--- /dev/null
+++ b/lua/tests/indent/rust/array.rs
@@ -0,0 +1,11 @@
+const X: [i32; 2] = [
+ 1,
+ 2,
+];
+
+fn foo() {
+ let _x = [
+ 1,
+ 2,
+ ];
+}