Skip to content

Commit

Permalink
Fix indentation in Transform.kt (#3100)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoonseopshin authored and dkhalanskyjb committed Dec 20, 2021
1 parent 7cc59e4 commit f3db701
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 f3db701

Please sign in to comment.