summaryrefslogtreecommitdiff
path: root/src/library/scala/Product22.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/scala/Product22.scala')
-rw-r--r--src/library/scala/Product22.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Product22.scala b/src/library/scala/Product22.scala
index 7a25891c6e..c7b9da5ce8 100644
--- a/src/library/scala/Product22.scala
+++ b/src/library/scala/Product22.scala
@@ -24,7 +24,7 @@ trait Product22[+T1, +T2, +T3, +T4, +T5, +T6, +T7, +T8, +T9, +T10, +T11, +T12, +
override def productArity = 22
- /** Returns the n-th projection of this product if 0 < n <= productArity,
+ /** Returns the n-th projection of this product if 0 <= n < productArity,
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned