From 1d7e5144ab0feb24629624d593b817a51b5aab8d Mon Sep 17 00:00:00 2001 From: Jędrzej Boczar Date: Sun, 18 Apr 2021 22:38:25 +0200 Subject: tests/indent: improve Rust tests --- lua/tests/indent/rust/array.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lua/tests/indent/rust/array.rs (limited to 'lua/tests/indent/rust/array.rs') 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, + ]; +} -- cgit v1.2.3-70-g09d2