From 8204b190c83ae17d64819164d1f0eff656bc7178 Mon Sep 17 00:00:00 2001 From: Jean-Remi Desjardins Date: Tue, 27 Nov 2012 01:04:47 -0500 Subject: 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 --- src/library/scala/collection/immutable/Range.scala | 1 - 1 file changed, 1 deletion(-) (limited to 'src/library') 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 -- cgit v1.2.3