summaryrefslogtreecommitdiff
path: root/test/indent
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-09-30 00:37:35 +0800
committerIvan Tham <pickfire@riseup.net>2020-09-30 00:37:35 +0800
commitbfca07da4d52b821c67a5b4e3eb056df9d98bd55 (patch)
treeb39f1416e009143c731c4ac49d32f299c2cec1dd /test/indent
parent56e12013c850523a8de983bb4ecc6f66d45a4815 (diff)
Rust not to indent on hash
Diffstat (limited to 'test/indent')
-rw-r--r--test/indent/rust/line-start-with-operator/in2
-rw-r--r--test/indent/rust/line-start-with-operator/out3
2 files changed, 5 insertions, 0 deletions
diff --git a/test/indent/rust/line-start-with-operator/in b/test/indent/rust/line-start-with-operator/in
index 0b17056b..063f771e 100644
--- a/test/indent/rust/line-start-with-operator/in
+++ b/test/indent/rust/line-start-with-operator/in
@@ -24,3 +24,5 @@
> foo%( )
+ #[derive(Debug)]%( )
+
diff --git a/test/indent/rust/line-start-with-operator/out b/test/indent/rust/line-start-with-operator/out
index f81bfdec..f270d0d9 100644
--- a/test/indent/rust/line-start-with-operator/out
+++ b/test/indent/rust/line-start-with-operator/out
@@ -37,3 +37,6 @@
> foo
bar
+ #[derive(Debug)]
+ bar
+