Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 450fdb1

Browse files
committed
Remove temporary hack
1 parent 3955b6a commit 450fdb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collections/src/main/scala/strawman/collection/MapView.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ trait MapView[K, +V]
1616
new MapFactory[({ type l[X, Y] = View[(X, Y)] })#l] {
1717
def newBuilder[X, Y](): Builder[(X, Y), View[(X, Y)]] = View.newBuilder[(X, Y)]()
1818
def empty[X, Y]: View[(X, Y)] = View.empty
19-
def from[X, Y](it: IterableOnce[(X, Y)]): View[(X, Y)] = View.from(it.asInstanceOf[Iterable[(X, Y)]]) // Waiting for https://github.com/scala/collection-strawman/pull/428
19+
def from[X, Y](it: IterableOnce[(X, Y)]): View[(X, Y)] = View.from(it)
2020
}
2121

2222
def empty: View[(K, V)] = View.Empty

0 commit comments

Comments
 (0)