diff options
author | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2012-05-08 01:07:33 +0200 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@gmail.com> | 2012-05-08 01:07:33 +0200 |
commit | b7f92af64d3c00dbfff5dbf0a9e6bde90a871807 (patch) | |
tree | b3fab6b4905dc98e0324a5fc8426a1f5b59f3888 /src | |
parent | e6d5d22d280909dacf635a0a2398158a1b1a6ae1 (diff) | |
download | scala-b7f92af64d3c00dbfff5dbf0a9e6bde90a871807.tar.gz scala-b7f92af64d3c00dbfff5dbf0a9e6bde90a871807.tar.bz2 scala-b7f92af64d3c00dbfff5dbf0a9e6bde90a871807.zip |
Fixes SI-5344.
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/immutable/Range.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/scala/collection/immutable/Range.scala b/src/library/scala/collection/immutable/Range.scala index 5698d53b06..033331b58b 100644 --- a/src/library/scala/collection/immutable/Range.scala +++ b/src/library/scala/collection/immutable/Range.scala @@ -327,16 +327,16 @@ object Range { */ def apply(start: Int, end: Int, step: Int): Range = new Range(start, end, step) - /** Make an range from `start` to `end` inclusive with step value 1. + /** Make a range from `start` until `end` (exclusive) with step value 1. */ def apply(start: Int, end: Int): Range = new Range(start, end, 1) - /** Make an inclusive range from start to end with given step value. + /** Make an inclusive range from `start` to `end` with given step value. * @note step != 0 */ @inline def inclusive(start: Int, end: Int, step: Int): Range.Inclusive = new Inclusive(start, end, step) - /** Make an inclusive range from start to end with step value 1. + /** Make an inclusive range from `start` to `end` with step value 1. */ @inline def inclusive(start: Int, end: Int): Range.Inclusive = new Inclusive(start, end, 1) |