diff --git a/_overviews/collections-2.13/maps.md b/_overviews/collections-2.13/maps.md index 81580815b7..0d11c535a8 100644 --- a/_overviews/collections-2.13/maps.md +++ b/_overviews/collections-2.13/maps.md @@ -64,7 +64,7 @@ Mutable maps support in addition the operations summarized in the following tabl | **Additions and Updates:** | | | `ms(k) = v` |(Or, written out, `ms.update(k, v)`). Adds mapping from key `k` to value `v` to map ms as a side effect, overwriting any previous mapping of `k`.| | `ms.addOne(k -> v)`
or `ms += (k -> v)` |Adds mapping from key `k` to value `v` to map `ms` as a side effect and returns `ms` itself.| -| `ms.addAll(xvs)`
or `ms ++= kvs` |Adds all mappings in `kvs` to `ms` as a side effect and returns `ms` itself.| +| `ms.addAll(kvs)`
or `ms ++= kvs` |Adds all mappings in `kvs` to `ms` as a side effect and returns `ms` itself.| | `ms.put(k, v)` |Adds mapping from key `k` to value `v` to `ms` and returns any value previously associated with `k` as an option.| | `ms.getOrElseUpdate(k, d)` |If key `k` is defined in map `ms`, return its associated value. Otherwise, update `ms` with the mapping `k -> d` and return `d`.| | **Removals:** | | diff --git a/_overviews/collections-2.13/seqs.md b/_overviews/collections-2.13/seqs.md index a5fe562ad5..cabd0b8a0a 100644 --- a/_overviews/collections-2.13/seqs.md +++ b/_overviews/collections-2.13/seqs.md @@ -103,7 +103,7 @@ Two often used implementations of buffers are `ListBuffer` and `ArrayBuffer`. A | ------ | ------ | | **Additions:** | | | `buf.append(x)`
or `buf += x` |Appends element `x` to buffer, and returns `buf` itself as result.| -| `buf.appendAll(xs)`
or`buf ++= xs` |Appends all elements in `xs` to buffer.| +| `buf.appendAll(xs)`
or `buf ++= xs` |Appends all elements in `xs` to buffer.| | `buf.prepend(x)`
or `x +=: buf` |Prepends element `x` to buffer.| | `buf.prependAll(xs)`
or `xs ++=: buf` |Prepends all elements in `xs` to buffer.| | `buf.insert(i, x)` |Inserts element `x` at index `i` in buffer.|