Skip to content

Commit 83056de

Browse files
yoonseopshinpablobaxter
authored andcommitted
Fix indentation in Transform.kt (Kotlin#3100)
1 parent ca4db92 commit 83056de

File tree

1 file changed

+1
-1
lines changed
  • kotlinx-coroutines-core/common/src/flow/operators

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/common/src/flow/operators/Transform.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public fun <T: Any> Flow<T?>.filterNotNull(): Flow<T> = transform<T?, T> { value
4545
* Returns a flow containing the results of applying the given [transform] function to each value of the original flow.
4646
*/
4747
public inline fun <T, R> Flow<T>.map(crossinline transform: suspend (value: T) -> R): Flow<R> = transform { value ->
48-
return@transform emit(transform(value))
48+
return@transform emit(transform(value))
4949
}
5050

5151
/**

0 commit comments

Comments
 (0)