Skip to content

Commit

Permalink
align a return type in collections internals with Scala 3
Browse files Browse the repository at this point in the history
context: scala/scala3#18525, which upgrades Scala 3 to use the
2.13.12 stdlib; MiMa there is complaining
  • Loading branch information
SethTisue committed Sep 20, 2023
1 parent 8ca1710 commit 331e9f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/library/scala/collection/immutable/HashMap.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2181,7 +2181,7 @@ private final class MapNodeRemoveAllSetNodeIterator[K](rootSetNode: SetNode[K])
curr
}

override def next() = Iterator.empty.next()
override def next(): K = Iterator.empty.next()
}

/**
Expand Down

0 comments on commit 331e9f2

Please sign in to comment.