Skip to content

Commit 22d8d9e

Browse files
committed
Typo and spelling corrections
1 parent 2f1bf7f commit 22d8d9e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/library/scala/collection/Parallelizable.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ package collection
1212
import parallel.Combiner
1313

1414
/** This trait describes collections which can be turned into parallel collections
15-
* by invoking the method `par`. Parallelizable collections may be parametrized with
15+
* by invoking the method `par`. Parallelizable collections may be parameterized with
1616
* a target type different than their own.
1717
*
1818
* @tparam A the type of the elements in the collection

src/library/scala/collection/parallel/TaskSupport.scala

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import scala.concurrent.ExecutionContext
1616
/** A trait implementing the scheduling of a parallel collection operation.
1717
*
1818
* Parallel collections are modular in the way operations are scheduled. Each
19-
* parallel collection is parametrized with a task support object which is
19+
* parallel collection is parameterized with a task support object which is
2020
* responsible for scheduling and load-balancing tasks to processors.
2121
*
2222
* A task support object can be changed in a parallel collection after it has
@@ -71,7 +71,7 @@ extends TaskSupport with AdaptiveWorkStealingThreadPoolTasks
7171
* forkjoin based task support or a thread pool executor one, depending on
7272
* what the execution context uses.
7373
*
74-
* By default, parallel collections are parametrized with this task support
74+
* By default, parallel collections are parameterized with this task support
7575
* object, so parallel collections share the same execution context backend
7676
* as the rest of the `scala.concurrent` package.
7777
*

0 commit comments

Comments
 (0)