summaryrefslogtreecommitdiff
path: root/lua/tests/indent/rust/impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lua/tests/indent/rust/impl.rs')
-rw-r--r--lua/tests/indent/rust/impl.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/tests/indent/rust/impl.rs b/lua/tests/indent/rust/impl.rs
new file mode 100644
index 00000000..2525c2e5
--- /dev/null
+++ b/lua/tests/indent/rust/impl.rs
@@ -0,0 +1,7 @@
+struct Foo;
+
+impl Foo {
+ fn foo() -> i32 {
+ 1
+ }
+}