Add formatting rule "new line between { and when entry"
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
fun foo(x: Int) = when (x) {
|
||||
1 -> 2
|
||||
3 -> 4
|
||||
else -> 6
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun foo(x: Int) = when(x) { 1 -> 2
|
||||
3 -> 4
|
||||
else -> 6
|
||||
}
|
||||
Reference in New Issue
Block a user