Skip to content

Commit 4508b13

Browse files
Fix a mistake in the API doc of CoroutineScope (#2888)
1 parent 3e89a17 commit 4508b13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/common/src/CoroutineScope.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import kotlin.coroutines.intrinsics.*
4949
* * `CoroutineScope()` uses [Dispatchers.Default] for its coroutines.
5050
* * `MainScope()` uses [Dispatchers.Main] for its coroutines.
5151
*
52-
* **The key part of custom usage of `CustomScope` is cancelling it and the end of the lifecycle.**
52+
* **The key part of custom usage of `CustomScope` is cancelling it at the end of the lifecycle.**
5353
* The [CoroutineScope.cancel] extension function shall be used when the entity that was launching coroutines
5454
* is no longer needed. It cancels all the coroutines that might still be running on behalf of it.
5555
*

0 commit comments

Comments
 (0)