Skip to content

Commit

Permalink
Merge pull request sunface#1300 from sb-child/patch-5
Browse files Browse the repository at this point in the history
typo fix: src/advance-practice1/multi-threads.md
  • Loading branch information
sunface authored Nov 2, 2023
2 parents 395ee0a + 1982ab9 commit 60d68cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/advance-practice1/multi-threads.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ impl ThreadPool {
### 存储线程
创建 `ThreadPool` 后,下一步就是存储具体的线程,既然要存放线程,一个绕不过去的问题就是:用什么类型来存放,例如假如使用 `Vect<T>` 来存储,那这个 `T` 应该是什么?
创建 `ThreadPool` 后,下一步就是存储具体的线程,既然要存放线程,一个绕不过去的问题就是:用什么类型来存放,例如假如使用 `Vec<T>` 来存储,那这个 `T` 应该是什么?
估计还得探索下 `thread::spawn` 的签名,毕竟它生成并返回一个线程:
Expand Down

0 comments on commit 60d68cb

Please sign in to comment.