Skip to content

Commit 5ce2c90

Browse files
authored
Fix too many the and it on some comments (#4200)
1 parent bc8160b commit 5ce2c90

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/topics/channels.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ fun CoroutineScope.launchProcessor(id: Int, channel: ReceiveChannel<Int>) = laun
364364
>
365365
{type="note"}
366366

367-
The output will be similar to the the following one, albeit the processor ids that receive
367+
The output will be similar to the following one, albeit the processor ids that receive
368368
each specific integer may be different:
369369

370370
```text

kotlinx-coroutines-core/common/src/flow/Migration.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public fun <T> Flow<T>.publishOn(context: CoroutineContext): Flow<T> = noImpl()
9090
* }
9191
* }
9292
* ```
93-
* Opposed to subscribeOn, it it **possible** to use multiple `flowOn` operators in the one flow
93+
* Opposed to subscribeOn, it is **possible** to use multiple `flowOn` operators in the one flow
9494
* @suppress
9595
*/
9696
@Deprecated(message = "Use 'flowOn' instead", level = DeprecationLevel.ERROR)

kotlinx-coroutines-core/common/src/flow/operators/Limit.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ internal suspend inline fun <T> Flow<T>.collectWhile(crossinline predicate: susp
123123
val collector = object : FlowCollector<T> {
124124
override suspend fun emit(value: T) {
125125
// Note: we are checking predicate first, then throw. If the predicate does suspend (calls emit, for example)
126-
// the the resulting code is never tail-suspending and produces a state-machine
126+
// the resulting code is never tail-suspending and produces a state-machine
127127
if (!predicate(value)) {
128128
throw AbortFlowException(this)
129129
}

0 commit comments

Comments
 (0)