From 2d96dc9d3fbd682280e6e96c187774509d688b3c Mon Sep 17 00:00:00 2001 From: Michael Grigoryan <56165400+michaelgrigoryan25@users.noreply.github.com> Date: Mon, 10 Jan 2022 12:55:42 +0400 Subject: [PATCH] Fixed a typo. (#3121) Fixed a typo in the documentation of `GlobalScope`. Changed `coroutinesScope` to `coroutineScope` --- kotlinx-coroutines-core/common/src/CoroutineScope.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kotlinx-coroutines-core/common/src/CoroutineScope.kt b/kotlinx-coroutines-core/common/src/CoroutineScope.kt index 21d2a6e000..737c56e1d5 100644 --- a/kotlinx-coroutines-core/common/src/CoroutineScope.kt +++ b/kotlinx-coroutines-core/common/src/CoroutineScope.kt @@ -178,7 +178,7 @@ public val CoroutineScope.isActive: Boolean * ``` * // concurrently load configuration and data * suspend fun loadConfigurationAndData() { - * coroutinesScope { + * coroutineScope { * launch { loadConfiguration() } * launch { loadData() } * }