We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be8161a commit a85e8fbCopy full SHA for a85e8fb
kotlinx-coroutines-core/jvm/src/CoroutineContext.kt
@@ -31,7 +31,7 @@ public actual fun CoroutineScope.newCoroutineContext(context: CoroutineContext):
31
public actual fun CoroutineContext.newCoroutineContext(addedContext: CoroutineContext): CoroutineContext {
32
/*
33
* Fast-path: we only have to copy/merge if 'addedContext' (which typically has one or two elements)
34
- * contains copyable element.
+ * contains copyable elements.
35
*/
36
if (!addedContext.fold(false, hasCopyableElements)) return this + addedContext
37
return foldCopies(this, addedContext, false)
0 commit comments