From d127557dd0678482e1f91618842f15315f843d5b Mon Sep 17 00:00:00 2001 From: Li Jin Date: Wed, 4 Jun 2025 16:53:57 +0800 Subject: Updated docs. [skip CI] --- doc/docs/doc/README.md | 4 ++-- doc/docs/zh/doc/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/docs') diff --git a/doc/docs/doc/README.md b/doc/docs/doc/README.md index 9f7d969..a607036 100755 --- a/doc/docs/doc/README.md +++ b/doc/docs/doc/README.md @@ -1333,7 +1333,7 @@ The spread operator can be used in different positions to capture different rang [...start, last] = orders -- Capture things except the middle elements -[first, _..., last] = orders +[first, ..._, last] = orders ```
@@ -1344,7 +1344,7 @@ The spread operator can be used in different positions to capture different rang
 [...start, last] = orders
 
 -- Capture things except the middle elements
-[first, _..., last] = orders
+[first, ..._, last] = orders
 
diff --git a/doc/docs/zh/doc/README.md b/doc/docs/zh/doc/README.md index 4152591..7ff205c 100755 --- a/doc/docs/zh/doc/README.md +++ b/doc/docs/zh/doc/README.md @@ -1331,7 +1331,7 @@ print last -- 打印: last [...start, last] = orders -- 跳过中间的元素,只捕获第一个和最后一个元素 -[first, _..., last] = orders +[first, ..._, last] = orders ```
@@ -1342,7 +1342,7 @@ print last   -- 打印: last
 [...start, last] = orders
 
 -- 跳过中间的元素,只捕获第一个和最后一个元素
-[first, _..., last] = orders
+[first, ..._, last] = orders
 
-- cgit v1.2.3-55-g6feb