Permalink
Browse files

Fixes SI-5344.

  • Loading branch information...
hubertp committed May 7, 2012
1 parent e6d5d22 commit b7f92af64d3c00dbfff5dbf0a9e6bde90a871807
Showing with 3 additions and 3 deletions.
  1. +3 −3 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)

0 comments on commit b7f92af

Please sign in to comment.