Skip to content

Commit 6115e09

Browse files
authored
Merge pull request scala/scala#10737 from guqicun/2.13.x
chore: remove repetitive words
2 parents 9134f98 + 9e4a4c6 commit 6115e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/collection/mutable/ArrayBuffer.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class ArrayBuffer[A] private (initialElements: Array[AnyRef], initialSize: Int)
192192
// the previous line
193193
// - `copyElemsToArray` will call `System.arraycopy`
194194
// - `System.arraycopy` will effectively "read" all the values before
195-
// overwriting any of them when two arrays are the the same reference
195+
// overwriting any of them when two arrays are the same reference
196196
val actual = IterableOnce.copyElemsToArray(elems, array.asInstanceOf[Array[Any]], index, elemsLength)
197197
if (actual != elemsLength) throw new IllegalStateException(s"Copied $actual of $elemsLength")
198198
size0 = len + elemsLength // update size AFTER the copy, in case we're inserting a proxy

0 commit comments

Comments
 (0)