Skip to content

Commit 709a506

Browse files
Krzysztofdee-tree
Krzysztof
authored andcommitted
docs: typo in conflate docs (Kotlin#3151)
1 parent 4960c84 commit 709a506

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public fun <T> Flow<T>.buffer(capacity: Int = BUFFERED): Flow<T> = buffer(capaci
171171
* ```
172172
*
173173
* Note that `conflate` operator is a shortcut for [buffer] with `capacity` of [Channel.CONFLATED][Channel.CONFLATED],
174-
* with is, in turn, a shortcut to a buffer that only keeps the latest element as
174+
* which is, in turn, a shortcut to a buffer that only keeps the latest element as
175175
* created by `buffer(onBufferOverflow = `[`BufferOverflow.DROP_OLDEST`][BufferOverflow.DROP_OLDEST]`)`.
176176
*
177177
* ### Operator fusion

0 commit comments

Comments
 (0)