summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/mutable/MapLike.scala
diff options
context:
space:
mode:
authorAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-04-09 17:22:58 +0000
committerAleksandar Pokopec <aleksandar.prokopec@epfl.ch>2010-04-09 17:22:58 +0000
commit0d80fa2d50c287837f45fb26e8ab3b69e278a9bb (patch)
treedf8de586600c3493252b318e08a16674d4240d7c /src/library/scala/collection/mutable/MapLike.scala
parent2b59cbaafa54f8752e9a00858f8d3bd1474ba59b (diff)
downloadscala-0d80fa2d50c287837f45fb26e8ab3b69e278a9bb.tar.gz
scala-0d80fa2d50c287837f45fb26e8ab3b69e278a9bb.tar.bz2
scala-0d80fa2d50c287837f45fb26e8ab3b69e278a9bb.zip
Work on mutable collections docs.
Diffstat (limited to 'src/library/scala/collection/mutable/MapLike.scala')
-rw-r--r--src/library/scala/collection/mutable/MapLike.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/library/scala/collection/mutable/MapLike.scala b/src/library/scala/collection/mutable/MapLike.scala
index 9c3c1c0e5f..19e67a6731 100644
--- a/src/library/scala/collection/mutable/MapLike.scala
+++ b/src/library/scala/collection/mutable/MapLike.scala
@@ -40,7 +40,7 @@ import annotation.migration
* `drop`, `filter` return the same kind of map, you
* should also override:
* {{{
- * def> empty: This
+ * def empty: This
* }}}
* If you wish to avoid the unnecessary construction of an `Option`
* object, you could also override `apply`, `update`,
@@ -187,7 +187,8 @@ trait MapLike[A, B, +This <: MapLike[A, B, This] with Map[A, B]]
*/
def clear() { keysIterator foreach -= }
- /** If given key is already in this map, returns associated value
+ /** If given key is already in this map, returns associated value.
+ *
* Otherwise, computes value from given expression `op`, stores with key
* in map and returns that value.
* @param key the key to test