summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/collection/immutable/HashSet.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/collection/immutable/HashSet.scala b/src/library/scala/collection/immutable/HashSet.scala
index 7d27531e8d..5a65e69d4d 100644
--- a/src/library/scala/collection/immutable/HashSet.scala
+++ b/src/library/scala/collection/immutable/HashSet.scala
@@ -301,7 +301,7 @@ time { mNew.iterator.foreach( p => ()) }
}
@scala.annotation.tailrec private[this] def next0(elems: Array[HashSet[A]], i: Int): A = {
- if (i == elems.length-1) { // reached end of level, pop stack
+ if (i == elems.length - 1) { // reached end of level, pop stack
depth -= 1
if (depth >= 0) {
arrayD = arrayStack(depth)
@@ -327,7 +327,7 @@ time { mNew.iterator.foreach( p => ()) }
case m: HashSet1[A] => m.key
case m =>
subIter = m.iterator
- subIter.next
+ next
}
}