Skip to content

Commit a988094

Browse files
committed
fix LazyList#withFilter comment
FilterMonadic no longer exists scala@878e7d3#diff-70de766559383f7095f84f96cb3ec750
1 parent 6658728 commit a988094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/scala/collection/immutable/LazyList.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ sealed private[immutable] trait LazyListOps[+A, +CC[+X] <: LinearSeq[X] with Laz
300300
else iterableFactory.empty).asInstanceOf[C]
301301
}
302302

303-
/** A FilterMonadic which allows GC of the head of stream during processing */
303+
/** A `collection.WithFilter` which allows GC of the head of stream during processing */
304304
@noinline // Workaround scala/bug#9137, see https://github.com/scala/scala/pull/4284#issuecomment-73180791
305305
override final def withFilter(p: A => Boolean): collection.WithFilter[A, CC] =
306306
iterableFactory.withFilter(coll, p)

0 commit comments

Comments
 (0)