summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2008-09-16 19:38:07 +0000
committerLex Spoon <lex@lexspoon.org>2008-09-16 19:38:07 +0000
commitc409423aefe282f465880d3e9d569087e6197fef (patch)
tree2b9e0082925a28506669c2072731cdf90faef0b2 /src
parentaef23d28218bdd6e16ca640c787e06d26808df8a (diff)
downloadscala-c409423aefe282f465880d3e9d569087e6197fef.tar.gz
scala-c409423aefe282f465880d3e9d569087e6197fef.tar.bz2
scala-c409423aefe282f465880d3e9d569087e6197fef.zip
Removes varargs version of immutable.Queue.enqu...
Removes varargs version of immutable.Queue.enqueue . Review by: odersky
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/collection/immutable/Queue.scala6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/library/scala/collection/immutable/Queue.scala b/src/library/scala/collection/immutable/Queue.scala
index 1becb17b82..f5c5d6a5f6 100644
--- a/src/library/scala/collection/immutable/Queue.scala
+++ b/src/library/scala/collection/immutable/Queue.scala
@@ -113,12 +113,6 @@ class Queue[+A](elem: A*) extends Seq[A] {
mkQueue(q, out)
}
- /** Returns a new queue with all elements added.
- *
- * @param elems the elements to add.
- */
- def enqueue [B >: A](elems: B*) = this + elems
-
/** Returns a tuple with the first element in the queue,
* and a new queue with this element removed.
*