docs: update an algorithm example
This commit is contained in:
parent
633eb9033c
commit
7ec1b3a19e
@ -988,7 +988,7 @@ order of the structs anymore (e.g. if the parent was deleted).
|
||||
**Examples:**
|
||||
|
||||
1. If a user inserts elements in sequence, the struct will be merged into a
|
||||
single struct. E.g. `array.insert(0, ['a']), array.insert(0, ['b']);` is
|
||||
single struct. E.g. `text.insert(0, 'a'), text.insert(1, 'b');` is
|
||||
first represented as two structs (`[{id: {client, clock: 0}, content: 'a'},
|
||||
{id: {client, clock: 1}, content: 'b'}`) and then merged into a single
|
||||
struct: `[{id: {client, clock: 0}, content: 'ab'}]`.
|
||||
|
Loading…
x
Reference in New Issue
Block a user