summaryrefslogtreecommitdiff
path: root/src/library/scala/Product3.scala
diff options
context:
space:
mode:
authorKato Kazuyoshi <kato.kazuyoshi@gmail.com>2012-04-23 02:21:32 +0900
committerKato Kazuyoshi <kato.kazuyoshi@gmail.com>2012-04-23 02:24:04 +0900
commitc3b0113f31ca80e08fd609f8b7925dc456456b95 (patch)
treed028bf992664d091ecb94aba8824894d424e52d0 /src/library/scala/Product3.scala
parent8c95273b70288e4e3a547fa43f2dbdb40a71b9ea (diff)
downloadscala-c3b0113f31ca80e08fd609f8b7925dc456456b95.tar.gz
scala-c3b0113f31ca80e08fd609f8b7925dc456456b95.tar.bz2
scala-c3b0113f31ca80e08fd609f8b7925dc456456b95.zip
Fix a documentation comment of Product(n)#productElement
Fix SI-5168.
Diffstat (limited to 'src/library/scala/Product3.scala')
-rw-r--r--src/library/scala/Product3.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Product3.scala b/src/library/scala/Product3.scala
index 91556bb962..1cfbd7956b 100644
--- a/src/library/scala/Product3.scala
+++ b/src/library/scala/Product3.scala
@@ -28,7 +28,7 @@ trait Product3[+T1, +T2, +T3] extends Any with Product {
* otherwise throws an `IndexOutOfBoundsException`.
*
* @param n number of the projection to be returned
- * @return same as `._(n+1)`, for example `productElement(1)` is the same as `._1`.
+ * @return same as `._(n+1)`, for example `productElement(0)` is the same as `._1`.
* @throws IndexOutOfBoundsException
*/