Skip to content

Commit 8951a1d

Browse files
committed
Fix dinosaur nomenclature and other typos
1 parent 9a3deb5 commit 8951a1d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

library/src/scala/collection/IterableOnce.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ trait IterableOnceOps[+A, +CC[_], +C] extends Any { this: IterableOnce[A] =>
526526
* actionable information. As noted above, even the collection library itself
527527
* does not use it. When there is no guarantee that a collection is finite, it
528528
* is generally best to attempt a computation anyway and document that it will
529-
* not terminate for inifinite collections rather than backing out because this
529+
* not terminate for infinite collections rather than backing out because this
530530
* would prevent performing the computation on collections that are in fact
531531
* finite even though `hasDefiniteSize` returns `false`.
532532
*

library/src/scala/collection/mutable/HashMap.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import scala.util.hashing.MurmurHash3
3131
* @define mayNotTerminateInf
3232
* @define willNotTerminateInf
3333
*/
34-
@deprecatedInheritance("HashMap wil be made final; use .withDefault for the common use case of computing a default value", "2.13.0")
34+
@deprecatedInheritance("HashMap will be made final; use .withDefault for the common use case of computing a default value", "2.13.0")
3535
class HashMap[K, V](initialCapacity: Int, loadFactor: Double)
3636
extends AbstractMap[K, V]
3737
with MapOps[K, V, HashMap, HashMap[K, V]]

library/src/scala/jdk/IntAccumulator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ final class IntAccumulator
282282
}
283283

284284
/**
285-
* Copy the elements in this `DoubleAccumulator` to a specified collection.
285+
* Copy the elements in this `IntAccumulator` to a specified collection.
286286
* Note that the target collection is not specialized.
287287
* Usage example: `acc.to(Vector)`
288288
*/

0 commit comments

Comments
 (0)