Skip to content

Commit c24d86d

Browse files
authored
fix: coroutines links (#5084)
1 parent 74adca1 commit c24d86d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/topics/lambdas.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ These types have a special notation that corresponds to the signatures of the fu
8282
return a value `C`.
8383
[Function literals with receiver](#function-literals-with-receiver) are often used along with these types.
8484

85-
* [Suspending functions](coroutines-basics.md#extract-function-refactoring) belong to a special kind of function type that have
85+
* [Suspending functions](coroutines-basics.md) belong to a special kind of function type that have
8686
a *suspend* modifier in their notation, such as `suspend () -> Unit` or `suspend A.(B) -> C`.
8787

8888
The function type notation can optionally include names for the function parameters: `(x: Int, y: Int) -> Point`.

docs/topics/whatsnew/whatsnew11.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ patterns. The key feature of Kotlin's design is that the implementation of corou
2323
not the language, so you aren't bound to any specific programming paradigm or concurrency library.
2424

2525
A coroutine is effectively a light-weight thread that can be suspended and resumed later.
26-
Coroutines are supported through _[suspending functions](coroutines-basics.md#extract-function-refactoring)_:
26+
Coroutines are supported through _[suspending functions](coroutines-basics.md)_:
2727
a call to such a function can potentially suspend a coroutine, and to start a new coroutine we usually use an anonymous suspending functions (i.e. suspending lambdas).
2828

2929
Let's look at `async`/`await` which is implemented in an external library, [kotlinx.coroutines](https://github.com/kotlin/kotlinx.coroutines):

docs/topics/whatsnew/whatsnew17.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ the `KotlinCompilerPluginSupportPlugin` class instead.
10241024
#### Removal of the deprecated coroutines DSL option and property
10251025

10261026
We removed the deprecated `kotlin.experimental.coroutines` Gradle DSL option and the `kotlin.coroutines` property used
1027-
in `gradle.properties`. Now you can just use _[suspending functions](coroutines-basics.md#extract-function-refactoring)_
1027+
in `gradle.properties`. Now you can just use _[suspending functions](coroutines-basics.md)_
10281028
or [add the `kotlinx.coroutines` dependency](gradle-configure-project.md#set-a-dependency-on-a-kotlinx-library) to your build
10291029
script.
10301030

0 commit comments

Comments
 (0)