summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2010-03-11 14:22:29 +0000
committerMartin Odersky <odersky@gmail.com>2010-03-11 14:22:29 +0000
commit8d2876cc7d07a86c80c1d73c2c28ca1ce4cdfd2a (patch)
treebee435a81e233601987ad85e26377de7a402a271 /src
parent6aaf4a3d5e730b0ed12eed78ae0940693c37ed22 (diff)
downloadscala-8d2876cc7d07a86c80c1d73c2c28ca1ce4cdfd2a.tar.gz
scala-8d2876cc7d07a86c80c1d73c2c28ca1ce4cdfd2a.tar.bz2
scala-8d2876cc7d07a86c80c1d73c2c28ca1ce4cdfd2a.zip
Fixed doc comment. No review.
Diffstat (limited to 'src')
-rw-r--r--src/library/scala/collection/MapLike.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/collection/MapLike.scala b/src/library/scala/collection/MapLike.scala
index 7558f1eece..2ca41319f3 100644
--- a/src/library/scala/collection/MapLike.scala
+++ b/src/library/scala/collection/MapLike.scala
@@ -268,11 +268,11 @@ self =>
}
/** Returns a new map with all key/value pairs for which the predicate
- * <code>p</code> returns <code>true</code>.
+ * <code>p</code> returns <code>false</code>.
*
* @param p A predicate over key-value pairs
* @note This method works by successively removing elements fro which the
- * predicate is false from this set.
+ * predicate is true from this set.
* If removal is slow, or you expect that most elements of the set$
* will be removed, you might consider using <code>filter</code>
* with a negated predicate instead.