From 6d5d554c334327f32ce9c27161e3cbc699872e89 Mon Sep 17 00:00:00 2001 From: Antonio Cunei Date: Wed, 8 Sep 2010 07:51:19 +0000 Subject: Merged revisions 22947 via svnmerge from https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk ........ r22947 | odersky | 2010-09-07 17:33:55 +0200 (Tue, 07 Sep 2010) | 1 line doc comment fix. No review. ........ --- src/library/scala/collection/mutable/SetLike.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/library') diff --git a/src/library/scala/collection/mutable/SetLike.scala b/src/library/scala/collection/mutable/SetLike.scala index 78e82eb06b..39ab1ff634 100644 --- a/src/library/scala/collection/mutable/SetLike.scala +++ b/src/library/scala/collection/mutable/SetLike.scala @@ -118,7 +118,7 @@ trait SetLike[A, +This <: SetLike[A, This] with Set[A]] /** Removes all elements from the set for which do not satisfy a predicate. * @param p the predicate used to test elements. Only elements for - * while `p` returns `true` are retained in the set; all others + * which `p` returns `true` are retained in the set; all others * are removed. */ def retain(p: A => Boolean): Unit = for (elem <- this.toList) if (!p(elem)) this -= elem -- cgit v1.2.3