summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-06-18 06:35:30 +0000
committermihaylov <mihaylov@epfl.ch>2007-06-18 06:35:30 +0000
commit41d984037ab6eff6f5931bdadff833df569c17f5 (patch)
treec44a7f8f0feadc203b3e9f40e2dd58d6509a520e /src
parentd675971454254b1ebf5560d4af2829a3c4017930 (diff)
downloadscala-41d984037ab6eff6f5931bdadff833df569c17f5.tar.gz
scala-41d984037ab6eff6f5931bdadff833df569c17f5.tar.bz2
scala-41d984037ab6eff6f5931bdadff833df569c17f5.zip
Corrected Scaladoc comment for Array.slice (con...
Corrected Scaladoc comment for Array.slice (contrib #666)
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/Array.scala2
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 &lt; 0</code>
- * or <code>length &lt; from + len<code>
+ * or <code>length &lt; end<code>
*/
override def slice(from: Int, end: Int): Array[A] = throw new Error()