Skip to content

Commit cbce201

Browse files
committed
align a return type in collections internals with Scala 3
context: scala#18525, which upgrades Scala 3 to use the 2.13.12 stdlib; MiMa there is complaining
1 parent 77a98e4 commit cbce201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/collection/immutable/HashMap.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -2181,7 +2181,7 @@ private final class MapNodeRemoveAllSetNodeIterator[K](rootSetNode: SetNode[K])
21812181
curr
21822182
}
21832183

2184-
override def next() = Iterator.empty.next()
2184+
override def next(): K = Iterator.empty.next()
21852185
}
21862186

21872187
/**

0 commit comments

Comments
 (0)