Skip to content

Commit

Permalink
Fixed a typo. (Kotlin#3121)
Browse files Browse the repository at this point in the history
Fixed a typo in the documentation of `GlobalScope`. Changed `coroutinesScope` to `coroutineScope`
  • Loading branch information
michaelgrigoryan25 committed Jan 10, 2022
1 parent c41b402 commit 2d96dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlinx-coroutines-core/common/src/CoroutineScope.kt
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public val CoroutineScope.isActive: Boolean
* ```
* // concurrently load configuration and data
* suspend fun loadConfigurationAndData() {
* coroutinesScope {
* coroutineScope {
* launch { loadConfiguration() }
* launch { loadData() }
* }
Expand Down

0 comments on commit 2d96dc9

Please sign in to comment.