summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/Iterable.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/Iterable.scala b/src/library/scala/Iterable.scala
index 916b0ecdf4..95c9294597 100644
--- a/src/library/scala/Iterable.scala
+++ b/src/library/scala/Iterable.scala
@@ -186,7 +186,7 @@ trait Iterable[+A] {
* @return the new iterable
*/
def drop(n: Int): Iterable[A] =
- new ArrayBuffer[A] ++ elements.take(n)
+ new ArrayBuffer[A] ++ elements.drop(n)
/** Apply a function <code>f</code> to all elements of this
* iterable object.