From cc441db380d16f0d61837257f025c6a996e2d415 Mon Sep 17 00:00:00 2001 From: stepancheg Date: Thu, 16 Oct 2008 16:35:43 +0000 Subject: fix List.dropRight scaladoc --- src/library/scala/List.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/library') diff --git a/src/library/scala/List.scala b/src/library/scala/List.scala index dead80cdad..660f1b5691 100644 --- a/src/library/scala/List.scala +++ b/src/library/scala/List.scala @@ -705,7 +705,7 @@ sealed abstract class List[+A] extends Seq[A] with Product { /** Returns the list wihout its rightmost n elements. * * @param n the number of elements to take - * @return the suffix of length n of the list + * @return the list without its rightmost n elements */ def dropRight(n: Int): List[A] = { def loop(lead: List[A], lag: List[A]): List[A] = lead match { -- cgit v1.2.3