Skip to content

Commit 91739f1

Browse files
authored
book: typo fixes (changkun#164)
Co-authored-by: guoliang wang <tswanggl@hotmail.com>
1 parent 45618ad commit 91739f1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

book/en-us/03-runtime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ capture lists can be:
8787

8888
- \[\] empty capture list
8989
- \[name1, name2, ...\] captures a series of variables
90-
- \[&\] reference capture, let the compiler derive the capture list by itself
91-
- \[=\] value capture, let the compiler execute the list of derivation applications
90+
- \[&\] reference capture, let the compiler deduce the reference list by itself
91+
- \[=\] value capture, let the compiler deduce the value list by itself
9292

9393
#### 4. Expression capture
9494

book/zh-cn/03-runtime.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ void lambda_reference_capture() {
7676

7777
- \[\] 空捕获列表
7878
- \[name1, name2, ...\] 捕获一系列变量
79-
- \[&\] 引用捕获, 让编译器自行推导捕获列表
80-
- \[=\] 值捕获, 让编译器执行推导引用列表
79+
- \[&\] 引用捕获, 让编译器自行推导引用列表
80+
- \[=\] 值捕获, 让编译器自行推导值捕获列表
8181

8282
**4. 表达式捕获**
8383

0 commit comments

Comments
 (0)