Put lambda parameters on the same line as opening curly brace
This commit is contained in:
Vendored
+1
-2
@@ -1,6 +1,5 @@
|
||||
fun main() {
|
||||
val oom: (Int)->Int = {
|
||||
it: Int ->
|
||||
val oom: (Int)->Int = { it: Int ->
|
||||
it * 2
|
||||
}
|
||||
}
|
||||
+1
-2
@@ -1,5 +1,4 @@
|
||||
val foo: (Long) -> String = {
|
||||
it: Long ->
|
||||
val foo: (Long) -> String = { it: Long ->
|
||||
|
||||
|
||||
it.toString()
|
||||
|
||||
Reference in New Issue
Block a user