summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2014-04-10 15:58:33 +0200
committerJason Zaugg <jzaugg@gmail.com>2014-04-10 15:58:33 +0200
commit2e839ac533c8732b5e28863981e709a45e60c192 (patch)
treed39ff3b63f3c0a4c409e62d6f05ced619e830ddf
parent3ba474fa96e6f1c0df6108189cc1088e004989f4 (diff)
parent03fc28785c56475cd9774966a1c63fed7d241f88 (diff)
downloadscala-2e839ac533c8732b5e28863981e709a45e60c192.tar.gz
scala-2e839ac533c8732b5e28863981e709a45e60c192.tar.bz2
scala-2e839ac533c8732b5e28863981e709a45e60c192.zip
Merge pull request #3679 from kurnevsky/master
Correction in the documentation.
-rw-r--r--src/library/scala/collection/generic/Sorted.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library/scala/collection/generic/Sorted.scala b/src/library/scala/collection/generic/Sorted.scala
index ab0d443a03..a0b0e1318b 100644
--- a/src/library/scala/collection/generic/Sorted.scala
+++ b/src/library/scala/collection/generic/Sorted.scala
@@ -62,7 +62,8 @@ trait Sorted[K, +This <: Sorted[K, This]] {
/** Creates a ranged projection of this collection with both a lower-bound
* and an upper-bound.
*
- * @param from The upper-bound (exclusive) of the ranged projection.
+ * @param from The lower-bound (inclusive) of the ranged projection.
+ * @param until The upper-bound (exclusive) of the ranged projection.
*/
def range(from: K, until: K): This = rangeImpl(Some(from), Some(until))