Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 76c982e

Browse files
committed
Merge pull request scala#4645 from SethTisue/issue/9406
SI-9406 fix doc for Range.takeRight
2 parents f2e055f + 6d56b65 commit 76c982e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/scala/collection/immutable/Range.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ extends scala.collection.AbstractSeq[Int]
285285
*/
286286
final override def splitAt(n: Int) = (take(n), drop(n))
287287

288-
/** Creates a new range consisting of the `length - n` last elements of the range.
288+
/** Creates a new range consisting of the last `n` elements of the range.
289289
*
290290
* $doesNotUseBuilders
291291
*/

0 commit comments

Comments
 (0)