summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorIvan Tham <pickfire@riseup.net>2020-10-04 23:40:47 +0800
committerIvan Tham <pickfire@riseup.net>2020-10-04 23:40:49 +0800
commitc148fdbe9ab9ef84dd2366a83788b9f4aede4745 (patch)
tree27fbd724917143e5407f8b603d1ba0e3359cf965 /test
parentb0ae30a443291566164605a76419572b01961918 (diff)
Rust always indent after {
Diffstat (limited to 'test')
-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 c1121942..72d6b5c7 100644
--- a/test/indent/rust/line-start-with-operator/in
+++ b/test/indent/rust/line-start-with-operator/in
@@ -29,3 +29,5 @@
fn foo(
) -> {%( )
+ } else {%( )
+
diff --git a/test/indent/rust/line-start-with-operator/out b/test/indent/rust/line-start-with-operator/out
index 070561f5..0ded93f9 100644
--- a/test/indent/rust/line-start-with-operator/out
+++ b/test/indent/rust/line-start-with-operator/out
@@ -44,3 +44,6 @@
) -> {
bar
+ } else {
+ bar
+