Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into version-1.7.1-x
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhalanskyjb committed May 12, 2023
2 parents e86dc85 + d653ab9 commit d5581e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlinx-coroutines-core/common/src/flow/terminal/Reduce.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public suspend inline fun <T, R> Flow<T>.fold(

/**
* The terminal operator that awaits for one and only one value to be emitted.
* Throws [NoSuchElementException] for empty flow and [IllegalStateException] for flow
* Throws [NoSuchElementException] for empty flow and [IllegalArgumentException] for flow
* that contains more than one element.
*/
public suspend fun <T> Flow<T>.single(): T {
Expand Down

0 comments on commit d5581e8

Please sign in to comment.