diff options
author | mihaylov <mihaylov@epfl.ch> | 2007-05-30 11:24:37 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2007-05-30 11:24:37 +0000 |
commit | 661a599ed628e1a284bacd20251794b407a0b858 (patch) | |
tree | 0ca44c5372af659d9b0f853771776abf8e539c74 /src | |
parent | ca6b2dcd8104b2bebc6edcaf76618d7bae07290b (diff) | |
download | scala-661a599ed628e1a284bacd20251794b407a0b858.tar.gz scala-661a599ed628e1a284bacd20251794b407a0b858.tar.bz2 scala-661a599ed628e1a284bacd20251794b407a0b858.zip |
Fixed contribution #575 in immutable.HashSet
Diffstat (limited to 'src')
-rw-r--r-- | src/library/scala/collection/immutable/HashSet.scala | 2 |
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. |