Merge pull request #323 from vivaxy/bugfix/readme

Update an algorithm example
This commit is contained in:
Kevin Jahns 2021-08-09 15:05:33 +02:00 committed by GitHub
commit 85a7ad148f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'}]`.