Put lambda parameters on the same line as opening curly brace

This commit is contained in:
Dmitry Jemerov
2017-05-29 14:52:52 +02:00
parent af941bfdf5
commit f32dc9e84e
8 changed files with 16 additions and 30 deletions
@@ -1,6 +1,5 @@
fun main() {
val oom: (Int)->Int = {
it: Int ->
val oom: (Int)->Int = { it: Int ->
it * 2
}
}
@@ -1,5 +1,4 @@
val foo: (Long) -> String = {
it: Long ->
val foo: (Long) -> String = { it: Long ->
it.toString()