Skip to content

Commit 52f10c7

Browse files
armansimonyan13elizarov
authored andcommitted
Grammatical correction (#698)
* Grammatical correction & Fixed broken link
1 parent 02b3302 commit 52f10c7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/channels.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ fun CoroutineScope.produceNumbers() = produce<Int> {
179179
</div>
180180

181181
And another coroutine or coroutines are consuming that stream, doing some processing, and producing some other results.
182-
In the below example the numbers are just squared:
182+
In the example below, the numbers are just squared:
183183

184184
<div class="sample" markdown="1" theme="idea" data-highlight-only>
185185

@@ -219,7 +219,7 @@ Done!
219219
-->
220220

221221
> All functions that create coroutines are defined as extensions on [CoroutineScope],
222-
so that we can rely on [structured concurrency](https://github.com/Kotlin/kotlinx.coroutineskotlinx.coroutines/blob/master/docs/composing-suspending-functions.md#structured-concurrency-with-async) to make
222+
so that we can rely on [structured concurrency](https://kotlinlang.org/docs/reference/coroutines/composing-suspending-functions.html#structured-concurrency-with-async) to make
223223
sure that we don't have lingering global coroutines in our application.
224224

225225
### Prime numbers with pipeline

docs/coroutine-context-and-dispatchers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Coroutine context includes a _coroutine dispatcher_ (see [CoroutineDispatcher])
5252
the corresponding coroutine uses for its execution. Coroutine dispatcher can confine coroutine execution
5353
to a specific thread, dispatch it to a thread pool, or let it run unconfined.
5454

55-
All coroutines builders like [launch] and [async] accept an optional
55+
All coroutine builders like [launch] and [async] accept an optional
5656
[CoroutineContext](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coroutines.experimental/-coroutine-context/)
5757
parameter that can be used to explicitly specify the dispatcher for new coroutine and other context elements.
5858

0 commit comments

Comments
 (0)