diff options
Diffstat (limited to 'lua/tests/indent/rust/basic.rs')
| -rw-r--r-- | lua/tests/indent/rust/basic.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/tests/indent/rust/basic.rs b/lua/tests/indent/rust/basic.rs new file mode 100644 index 000000000..54d38cf68 --- /dev/null +++ b/lua/tests/indent/rust/basic.rs @@ -0,0 +1,7 @@ +fn foo(x: i32) { + if (x > 10) { + return 10; + } else { + return x; + } +} |
