From 7ec1b3a19eecb055d2ae98375648042066ef3ba4 Mon Sep 17 00:00:00 2001
From: vivaxy <xyxuye2007@126.com>
Date: Mon, 9 Aug 2021 19:33:45 +0800
Subject: [PATCH] docs: update an algorithm example

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index cc1c5136..f08ce417 100644
--- a/README.md
+++ b/README.md
@@ -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'}]`.