Skip to content

Commit 068840b

Browse files
authored
book: typo fixes (#200)
1 parent 7f7d708 commit 068840b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

book/zh-cn/09-others.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ int main()
7272
try {
7373
may_throw();
7474
} catch (...) {
75-
std::cout << "捕获异常, 来自 my_throw()" << std::endl;
75+
std::cout << "捕获异常, 来自 may_throw()" << std::endl;
7676
}
7777
try {
7878
non_block_throw();
@@ -89,7 +89,7 @@ try {
8989
最终输出为:
9090

9191
```
92-
捕获异常, 来自 my_throw()
92+
捕获异常, 来自 may_throw()
9393
捕获异常, 来自 non_block_throw()
9494
```
9595

@@ -189,4 +189,4 @@ int main() {
189189
190190
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="知识共享许可协议" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/80x15.png" /></a>
191191
192-
本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。
192+
本教程由[欧长坤](https://github.com/changkun)撰写,采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](http://creativecommons.org/licenses/by-nc-nd/4.0/)许可。项目中代码使用 MIT 协议开源,参见[许可](../../LICENSE)。

0 commit comments

Comments
 (0)