Skip to content

Commit 2ba1d98

Browse files
sebaslogenqwwdfsad
authored andcommitted
Fix mapLatest documentation example
1 parent ecbfa6d commit 2ba1d98

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/Merge.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public inline fun <T, R> Flow<T>.flatMapLatest(@BuilderInference crossinline tra
169169
* "Computed $value"
170170
* }
171171
* ```
172-
* will print "Started computing 1" and "Started computing 2", but the resulting flow will contain only "Computed 2" value.
172+
* will print "Started computing a" and "Started computing b", but the resulting flow will contain only "Computed b" value.
173173
*
174174
* This operator is [buffered][buffer] by default and size of its output buffer can be changed by applying subsequent [buffer] operator.
175175
*/

0 commit comments

Comments
 (0)