Skip to content

Commit dba7de1

Browse files
qwwdfsaddee-tree
authored andcommitted
Fix typo in CoroutineDispatcher documentation
Fixes Kotlin#3110
1 parent 709a506 commit dba7de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ public abstract class CoroutineDispatcher :
8484
* // At most 2 threads will be processing images as it is really slow and CPU-intensive
8585
* private val imageProcessingDispatcher = backgroundDispatcher.limitedParallelism(2)
8686
* // At most 3 threads will be processing JSON to avoid image processing starvation
87-
* private val imageProcessingDispatcher = backgroundDispatcher.limitedParallelism(3)
87+
* private val jsonProcessingDispatcher = backgroundDispatcher.limitedParallelism(3)
8888
* // At most 1 thread will be doing IO
8989
* private val fileWriterDispatcher = backgroundDispatcher.limitedParallelism(1)
9090
* ```

0 commit comments

Comments
 (0)