aboutsummaryrefslogtreecommitdiffstats
path: root/lua/tests/indent/rust/comment.rs
diff options
context:
space:
mode:
Diffstat (limited to 'lua/tests/indent/rust/comment.rs')
-rw-r--r--lua/tests/indent/rust/comment.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/tests/indent/rust/comment.rs b/lua/tests/indent/rust/comment.rs
new file mode 100644
index 000000000..334793dfa
--- /dev/null
+++ b/lua/tests/indent/rust/comment.rs
@@ -0,0 +1,7 @@
+/// Function foo
+///
+/// Description of
+/// function foo.
+fn foo(x: i32, y: i32) -> i32 {
+ x + y
+}