Skip to content

Commit 178372b

Browse files
authored
Merge pull request #3040 from ivan-mashonskiy/patch-1
Fix typo
2 parents 887ee39 + 95b599d commit 178372b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_overviews/collections-2.13/maps.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Mutable maps support in addition the operations summarized in the following tabl
6464
| **Additions and Updates:** | |
6565
| `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`.|
6666
| `ms.addOne(k -> v)`<br>or `ms += (k -> v)` |Adds mapping from key `k` to value `v` to map `ms` as a side effect and returns `ms` itself.|
67-
| `ms.addAll(xvs)`<br>or `ms ++= kvs` |Adds all mappings in `kvs` to `ms` as a side effect and returns `ms` itself.|
67+
| `ms.addAll(kvs)`<br>or `ms ++= kvs` |Adds all mappings in `kvs` to `ms` as a side effect and returns `ms` itself.|
6868
| `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.|
6969
| `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`.|
7070
| **Removals:** | |

_overviews/collections-2.13/seqs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Two often used implementations of buffers are `ListBuffer` and `ArrayBuffer`. A
103103
| ------ | ------ |
104104
| **Additions:** | |
105105
| `buf.append(x)`<br>or `buf += x` |Appends element `x` to buffer, and returns `buf` itself as result.|
106-
| `buf.appendAll(xs)`<br>or`buf ++= xs` |Appends all elements in `xs` to buffer.|
106+
| `buf.appendAll(xs)`<br>or `buf ++= xs` |Appends all elements in `xs` to buffer.|
107107
| `buf.prepend(x)`<br>or `x +=: buf` |Prepends element `x` to buffer.|
108108
| `buf.prependAll(xs)`<br>or `xs ++=: buf` |Prepends all elements in `xs` to buffer.|
109109
| `buf.insert(i, x)` |Inserts element `x` at index `i` in buffer.|

0 commit comments

Comments
 (0)