diff options
| author | Jędrzej Boczar <yendreij@gmail.com> | 2021-03-13 23:51:57 +0100 |
|---|---|---|
| committer | Kiyan <yazdani.kiyan@protonmail.com> | 2021-04-23 21:21:38 +0200 |
| commit | 4454459fb2ce64caaf1d0e32472ad7dcdbf3e436 (patch) | |
| tree | b8a48ceb3132e67a21698f8c1584c94b8f248278 /lua/tests/indent/rust | |
| parent | 67f2c7149c0de39248f1bdeba1a4303b156c3199 (diff) | |
tests/indent: add basic examples for C and Rust
Diffstat (limited to 'lua/tests/indent/rust')
| -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 00000000..54d38cf6 --- /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; + } +} |
