Skip to content

Commit

Permalink
fix a typo and tweak desc (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yiyuan-Dong authored Jan 2, 2024
1 parent 00cac2e commit a9f64e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/7.TheConcurrencyAPI/item38.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ auto fut = pt.get_future(); //从pt获取future
std::thread t(std::move(pt)); //在t上运行pt
```
这个例子是你对于*future*的析构函数的正常行为有一些了解,但是将这些语句放在一个作用域的语句块里更容易看
这个例子使你对于*future*的析构函数的正常行为有一些了解,但是将这些语句放在一个作用域的语句块里会使其更易于阅读
```cpp
{ //开始代码块
Expand Down

0 comments on commit a9f64e9

Please sign in to comment.