Skip to content

Commit 03fc287

Browse files
committed
Correction in the documentation.
1 parent 470a512 commit 03fc287

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/library/scala/collection/generic/Sorted.scala

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ trait Sorted[K, +This <: Sorted[K, This]] {
6262
/** Creates a ranged projection of this collection with both a lower-bound
6363
* and an upper-bound.
6464
*
65-
* @param from The upper-bound (exclusive) of the ranged projection.
65+
* @param from The lower-bound (inclusive) of the ranged projection.
66+
* @param until The upper-bound (exclusive) of the ranged projection.
6667
*/
6768
def range(from: K, until: K): This = rangeImpl(Some(from), Some(until))
6869

0 commit comments

Comments
 (0)