Skip to content

Commit e0a8799

Browse files
authored
Merge pull request scala/scala#9789 from megri/patch-1
Fix documentation for IterableOnce.filter
2 parents 316d368 + 678d401 commit e0a8799

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/collection/IterableOnce.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ trait IterableOnceOps[+A, +CC[_], +C] extends Any { this: IterableOnce[A] =>
325325
/** Selects all elements of this $coll which satisfy a predicate.
326326
*
327327
* @param p the predicate used to test elements.
328-
* @return a new iterator consisting of all elements of this $coll that satisfy the given
328+
* @return a new $coll consisting of all elements of this $coll that satisfy the given
329329
* predicate `p`. The order of the elements is preserved.
330330
*/
331331
def filter(p: A => Boolean): C

0 commit comments

Comments
 (0)