summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/GenTraversableOnce.scala
diff options
context:
space:
mode:
authoryllan <yllan@me.com>2013-07-06 11:53:47 +0800
committeryllan <yllan@me.com>2013-07-06 11:53:47 +0800
commit0870f913e8eb98108fe8a7f50ade9b4ff6563595 (patch)
treef15f0431632b465bf2dc80a90d3a8ea3ac872a30 /src/library/scala/collection/GenTraversableOnce.scala
parent15a9f57178a4ed4f01e8d8c69f3a72bf9c4fed7d (diff)
downloadscala-0870f913e8eb98108fe8a7f50ade9b4ff6563595.tar.gz
scala-0870f913e8eb98108fe8a7f50ade9b4ff6563595.tar.bz2
scala-0870f913e8eb98108fe8a7f50ade9b4ff6563595.zip
Fix docs inconsistent (cmp -> ord).
The parameter name is 'ord', but mentioned in docs with 'cmp'.
Diffstat (limited to 'src/library/scala/collection/GenTraversableOnce.scala')
-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 d966c7324b..2d0baa8266 100644
--- a/src/library/scala/collection/GenTraversableOnce.scala
+++ b/src/library/scala/collection/GenTraversableOnce.scala
@@ -341,7 +341,7 @@ trait GenTraversableOnce[+A] extends Any {
*
* @param ord An ordering to be used for comparing elements.
* @tparam A1 The type over which the ordering is defined.
- * @return the smallest element of this $coll with respect to the ordering `cmp`.
+ * @return the smallest element of this $coll with respect to the ordering `ord`.
*
* @usecase def min: A
* @inheritdoc
@@ -354,7 +354,7 @@ trait GenTraversableOnce[+A] extends Any {
*
* @param ord An ordering to be used for comparing elements.
* @tparam A1 The type over which the ordering is defined.
- * @return the largest element of this $coll with respect to the ordering `cmp`.
+ * @return the largest element of this $coll with respect to the ordering `ord`.
*
* @usecase def max: A
* @inheritdoc