We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f099d88 + d5332a4 commit 5292baaCopy full SHA for 5292baa
src/library/scala/collection/ArrayOps.scala
@@ -867,7 +867,7 @@ final class ArrayOps[A](val xs: Array[A]) extends AnyVal {
867
868
/** Finds the first element of the $coll for which the given partial function is defined, and applies the
869
* partial function to it. */
870
- def collectFirst[B : ClassTag](f: PartialFunction[A, B]): Option[B] = {
+ def collectFirst[B](f: PartialFunction[A, B]): Option[B] = {
871
var i = 0
872
var matched = true
873
def d(x: A): B = {
0 commit comments