diff options
author | Alessandro Lacava <alessandrolacava@gmail.com> | 2015-03-24 12:13:18 +0100 |
---|---|---|
committer | Alessandro Lacava <alessandrolacava@gmail.com> | 2015-03-24 15:50:20 +0100 |
commit | 7c162d41ad87c390e341aec5d3819c4527fee47f (patch) | |
tree | d96edb0a4b8d92f14ff7ad99cb4cc45e89199430 /src/library | |
parent | 2dc40cc7d7d956a510a9278ab236014f3fb564bc (diff) | |
download | scala-7c162d41ad87c390e341aec5d3819c4527fee47f.tar.gz scala-7c162d41ad87c390e341aec5d3819c4527fee47f.tar.bz2 scala-7c162d41ad87c390e341aec5d3819c4527fee47f.zip |
fix typo in scaladoc
Diffstat (limited to 'src/library')
-rw-r--r-- | src/library/scala/collection/GenTraversableOnce.scala | 4 |
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] |