Skip to content

Commit

Permalink
Fix too many the and it on some comments (#4200)
Browse files Browse the repository at this point in the history
  • Loading branch information
ParkJong-Hun authored Jul 30, 2024
1 parent bc8160b commit 5ce2c90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/topics/channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ fun CoroutineScope.launchProcessor(id: Int, channel: ReceiveChannel<Int>) = laun
>
{type="note"}

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

```text
Expand Down
2 changes: 1 addition & 1 deletion kotlinx-coroutines-core/common/src/flow/Migration.kt
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public fun <T> Flow<T>.publishOn(context: CoroutineContext): Flow<T> = noImpl()
* }
* }
* ```
* Opposed to subscribeOn, it it **possible** to use multiple `flowOn` operators in the one flow
* Opposed to subscribeOn, it is **possible** to use multiple `flowOn` operators in the one flow
* @suppress
*/
@Deprecated(message = "Use 'flowOn' instead", level = DeprecationLevel.ERROR)
Expand Down
2 changes: 1 addition & 1 deletion kotlinx-coroutines-core/common/src/flow/operators/Limit.kt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ internal suspend inline fun <T> Flow<T>.collectWhile(crossinline predicate: susp
val collector = object : FlowCollector<T> {
override suspend fun emit(value: T) {
// Note: we are checking predicate first, then throw. If the predicate does suspend (calls emit, for example)
// the the resulting code is never tail-suspending and produces a state-machine
// the resulting code is never tail-suspending and produces a state-machine
if (!predicate(value)) {
throw AbortFlowException(this)
}
Expand Down

0 comments on commit 5ce2c90

Please # to comment.