summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorJean-Remi Desjardins <jeanremi.desjardins@gmail.com>2012-11-27 01:04:47 -0500
committerJean-Remi Desjardins <jeanremi.desjardins@gmail.com>2012-11-27 01:04:47 -0500
commit8204b190c83ae17d64819164d1f0eff656bc7178 (patch)
tree66980e5cc61d8ca951c58355115fb727abf8a30c /src/library
parent2a8291a3568abc848e79acaacd82e90932a77c8a (diff)
downloadscala-8204b190c83ae17d64819164d1f0eff656bc7178.tar.gz
scala-8204b190c83ae17d64819164d1f0eff656bc7178.tar.bz2
scala-8204b190c83ae17d64819164d1f0eff656bc7178.zip
SI-5678 Bad return type for [Use Case] docs in Range
Many [Use Case] example in Range such as the one associated to the union method document that the method returns a Range which is just plain false. Example: val ran1 = Range(1,3) val ran2 = Range(54, 57) val result = ran1.union(ran2) // This is a perfectly valid use case yet obviously cannot be represented as a Range
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/collection/immutable/Range.scala1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/library/scala/collection/immutable/Range.scala b/src/library/scala/collection/immutable/Range.scala
index 3b6ab81146..802e16605d 100644
--- a/src/library/scala/collection/immutable/Range.scala
+++ b/src/library/scala/collection/immutable/Range.scala
@@ -33,7 +33,6 @@ import scala.collection.parallel.immutable.ParRange
* @see [[http://docs.scala-lang.org/overviews/collections/concrete-immutable-collection-classes.html#ranges "Scala's Collection Library overview"]]
* section on `Ranges` for more information.
*
- * @define Coll Range
* @define coll range
* @define mayNotTerminateInf
* @define willNotTerminateInf