summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Cunei <antonio.cunei@epfl.ch>2010-09-08 07:51:19 +0000
committerAntonio Cunei <antonio.cunei@epfl.ch>2010-09-08 07:51:19 +0000
commit6d5d554c334327f32ce9c27161e3cbc699872e89 (patch)
tree92576ff77e01874589eeeb8e5be1d5c4e9ed0163
parent60ff8410bfbb46249265c61b453d135a4fdb3815 (diff)
downloadscala-6d5d554c334327f32ce9c27161e3cbc699872e89.tar.gz
scala-6d5d554c334327f32ce9c27161e3cbc699872e89.tar.bz2
scala-6d5d554c334327f32ce9c27161e3cbc699872e89.zip
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. ........
-rw-r--r--src/library/scala/collection/mutable/SetLike.scala2
1 files changed, 1 insertions, 1 deletions
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