diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/Array.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Array.scala b/src/library/scala/Array.scala index 2c70109884..88a638028f 100644 --- a/src/library/scala/Array.scala +++ b/src/library/scala/Array.scala @@ -240,7 +240,7 @@ final class Array[A](_length: Int) extends RandomAccessSeq[A] { * @param from The index of the first element of the slice * @param end The index of the element following the slice * @throws IndexOutOfBoundsException if <code>from < 0</code> - * or <code>length < from + len<code> + * or <code>length < end<code> */ override def slice(from: Int, end: Int): Array[A] = throw new Error() |