diff options
-rw-r--r-- | src/library/scala/List.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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 <code>n</code> elements. * * @param n the number of elements to take - * @return the suffix of length <code>n</code> of the list + * @return the list without its rightmost <code>n</code> elements */ def dropRight(n: Int): List[A] = { def loop(lead: List[A], lag: List[A]): List[A] = lead match { |