summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormihaylov <mihaylov@epfl.ch>2007-05-30 11:24:37 +0000
committermihaylov <mihaylov@epfl.ch>2007-05-30 11:24:37 +0000
commit661a599ed628e1a284bacd20251794b407a0b858 (patch)
tree0ca44c5372af659d9b0f853771776abf8e539c74
parentca6b2dcd8104b2bebc6edcaf76618d7bae07290b (diff)
downloadscala-661a599ed628e1a284bacd20251794b407a0b858.tar.gz
scala-661a599ed628e1a284bacd20251794b407a0b858.tar.bz2
scala-661a599ed628e1a284bacd20251794b407a0b858.zip
Fixed contribution #575 in immutable.HashSet
-rw-r--r--src/library/scala/collection/immutable/HashSet.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/immutable/HashSet.scala b/src/library/scala/collection/immutable/HashSet.scala
index 2f081d98ca..13bd8386a3 100644
--- a/src/library/scala/collection/immutable/HashSet.scala
+++ b/src/library/scala/collection/immutable/HashSet.scala
@@ -23,7 +23,7 @@ object HashSet {
/** The canonical factory for this type
*/
- def apply[A, B](elems: A*) = empty[A] ++ elems
+ def apply[A](elems: A*) = empty[A] ++ elems
}
/** This class implements immutable sets using a hash table.