summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@typesafe.com>2015-03-31 21:21:07 +0200
committerLukas Rytz <lukas.rytz@typesafe.com>2015-03-31 21:21:07 +0200
commit8108ed6b4efe4d82cfe949205607c2a1167f312b (patch)
treed6d500f3c68de44a60bb75d43d51178dfa435f0c /src
parenta25b3f70eb6ebe2fac867a5b85cfe5b9883814cc (diff)
parent7c162d41ad87c390e341aec5d3819c4527fee47f (diff)
downloadscala-8108ed6b4efe4d82cfe949205607c2a1167f312b.tar.gz
scala-8108ed6b4efe4d82cfe949205607c2a1167f312b.tar.bz2
scala-8108ed6b4efe4d82cfe949205607c2a1167f312b.zip
Merge pull request #4399 from lambdista/scaladoc-typo-1
ScalaDoc typo
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/collection/GenTraversableOnce.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/collection/GenTraversableOnce.scala b/src/library/scala/collection/GenTraversableOnce.scala
index 8c7c754af8..f77462ce88 100644
--- a/src/library/scala/collection/GenTraversableOnce.scala
+++ b/src/library/scala/collection/GenTraversableOnce.scala
@@ -278,7 +278,7 @@ trait GenTraversableOnce[+A] extends Any {
*
* @param op the binary operator.
* @tparam B the result type of the binary operator.
- * @return an option value containing the result of `reduceLeft(op)` is this $coll is nonempty,
+ * @return an option value containing the result of `reduceLeft(op)` if this $coll is nonempty,
* `None` otherwise.
*/
def reduceLeftOption[B >: A](op: (B, A) => B): Option[B]
@@ -290,7 +290,7 @@ trait GenTraversableOnce[+A] extends Any {
*
* @param op the binary operator.
* @tparam B the result type of the binary operator.
- * @return an option value containing the result of `reduceRight(op)` is this $coll is nonempty,
+ * @return an option value containing the result of `reduceRight(op)` if this $coll is nonempty,
* `None` otherwise.
*/
def reduceRightOption[B >: A](op: (A, B) => B): Option[B]