Skip to content

Commit f572e8b

Browse files
Update kotlinx-coroutines-core/jvm/src/CoroutineContext.kt
Co-authored-by: dkhalanskyjb <[email protected]>
1 parent a85e8fb commit f572e8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kotlinx-coroutines-core/jvm/src/CoroutineContext.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ private val hasCopyableElements: (Boolean, CoroutineContext.Element) -> Boolean
4444
/**
4545
* Folds two contexts properly applying [CopyableThreadContextElement] rules when necessary.
4646
* The rules are the following:
47-
* * If both context do not have CTCE, the sum of two contexts is returned
47+
* * If neither context has CTCE, the sum of two contexts is returned
4848
* * Every CTCE from left-hand side context that does not have matching (by key) element from right-hand side context
4949
* is [copied][CopyableThreadContextElement.copyForChild]
5050
* * Every CTCE from left-hand side context that has matching element in right-hand side context is [merged][CopyableThreadContextElement.mergeForChild]

0 commit comments

Comments
 (0)