diff options
author | Lukas Elmer <lukas.elmer@gmail.com> | 2014-07-21 23:00:05 +0200 |
---|---|---|
committer | Antoine Gourlay <antoine@gourlay.fr> | 2014-08-11 17:55:38 +0200 |
commit | b70b074d20edf0001dce5c14775ee96054b9bae2 (patch) | |
tree | e6ccf08a4eaa15c8233df5d647217aaadff99f33 /src | |
parent | e54b77247c5f895fe795f4ca0425d0d304cff975 (diff) | |
download | scala-b70b074d20edf0001dce5c14775ee96054b9bae2.tar.gz scala-b70b074d20edf0001dce5c14775ee96054b9bae2.tar.bz2 scala-b70b074d20edf0001dce5c14775ee96054b9bae2.zip |
[backport] Fix scaladoc typo
(cherry picked from commit 0a1694d8048f01b7f0812cedaa341813e9044e7f)
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/math/Ordering.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/math/Ordering.scala b/src/library/scala/math/Ordering.scala index d1a4e7c35c..0d7ea8bce2 100644 --- a/src/library/scala/math/Ordering.scala +++ b/src/library/scala/math/Ordering.scala @@ -26,7 +26,7 @@ import scala.language.{implicitConversions, higherKinds} * val pairs = Array(("a", 5, 2), ("c", 3, 1), ("b", 1, 3)) * * // sort by 2nd element - * Sorting.quickSort(pairs)(Ordering.by[(String, Int, Int), Int](_._2) + * Sorting.quickSort(pairs)(Ordering.by[(String, Int, Int), Int](_._2)) * * // sort by the 3rd element, then 1st * Sorting.quickSort(pairs)(Ordering[(Int, String)].on(x => (x._3, x._1))) |