Browse files

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.


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
  • Loading branch information...
1 parent 2a8291a commit 8204b190c83ae17d64819164d1f0eff656bc7178 @jedesah jedesah committed Nov 27, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/library/scala/collection/immutable/Range.scala
1 src/library/scala/collection/immutable/Range.scala
@@ -33,7 +33,6 @@ import scala.collection.parallel.immutable.ParRange
* @see [[ "Scala's Collection Library overview"]]
* section on `Ranges` for more information.
- * @define Coll Range
* @define coll range
* @define mayNotTerminateInf
* @define willNotTerminateInf

0 comments on commit 8204b19

Please sign in to comment.