Skip to content

Commit

Permalink
Fix indentation in Transform.kt (Kotlin#3100)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonseopshin authored and pablobaxter committed Sep 14, 2022
1 parent ca4db92 commit 83056de
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -45,7 +45,7 @@ public fun <T: Any> Flow<T?>.filterNotNull(): Flow<T> = transform<T?, T> { value
* Returns a flow containing the results of applying the given [transform] function to each value of the original flow.
*/
public inline fun <T, R> Flow<T>.map(crossinline transform: suspend (value: T) -> R): Flow<R> = transform { value ->
return@transform emit(transform(value))
return@transform emit(transform(value))
}

/**
Expand Down

0 comments on commit 83056de

Please sign in to comment.