Skip to content

Commit ce64e79

Browse files
authored
Fix typo in Combine (#2540)
1 parent bc85f51 commit ce64e79

File tree

1 file changed

+1
-1
lines changed
  • kotlinx-coroutines-core/common/src/flow/internal

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/common/src/flow/internal/Combine.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ internal suspend fun <R, T> FlowCollector<R>.combineInternal(
2323
val size = flows.size
2424
if (size == 0) return@flowScope // bail-out for empty input
2525
val latestValues = arrayOfNulls<Any?>(size)
26-
latestValues.fill(UNINITIALIZED) // Smaller bytecode & faster that Array(size) { UNINITIALIZED }
26+
latestValues.fill(UNINITIALIZED) // Smaller bytecode & faster than Array(size) { UNINITIALIZED }
2727
val resultChannel = Channel<Update>(size)
2828
val nonClosed = LocalAtomicInt(size)
2929
var remainingAbsentValues = size

0 commit comments

Comments
 (0)