Skip to content

Commit 2a580df

Browse files
authored
Tweak CoroutineScope.plus docs for accuracy (#3903)
1 parent 7e2d237 commit 2a580df

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
@@ -90,7 +90,7 @@ public interface CoroutineScope {
9090
* Adds the specified coroutine context to this scope, overriding existing elements in the current
9191
* scope's context with the corresponding keys.
9292
*
93-
* This is a shorthand for `CoroutineScope(thisScope + context)`.
93+
* This is a shorthand for `CoroutineScope(thisScope.coroutineContext + context)`.
9494
*/
9595
public operator fun CoroutineScope.plus(context: CoroutineContext): CoroutineScope =
9696
ContextScope(coroutineContext + context)

0 commit comments

Comments
 (0)