Skip to content

Commit b284a82

Browse files
authored
Merge pull request KaiserY#911 from 43c2358a8340943706719426aba37c7a/patch-1
Update ch17-01-futures-and-syntax.md
2 parents 81f9bdd + 09d1efb commit b284a82

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ch17-01-futures-and-syntax.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,10 @@ enum Either<A, B> {
217217

218218
现在我们完成一个可用的小型网页爬虫的构建了!挑选一对 URL 并运行命令行工具。你会发现某些网站稳定地快于其它网站,而在另一些情况下哪个站点更快则因每次运行而异。更重要的是,你已经掌握了处理 futures 的基础知识,因此我们现在可以进一步探索更多 async 的可能性了。
219219

220+
[crate-source]: https://github.com/rust-lang/book/tree/main/packages/trpl
221+
[futures-crate]: https://crates.io/crates/futures
222+
[tokio]: https://tokio.rs
223+
220224
[impl-trait]: ch10-02-traits.html#trait-作为参数
221225
[iterators-lazy]: ch13-02-iterators.html
222226
[thread-spawn]: ch16-01-threads.html#creating-a-new-thread-with-spawn

0 commit comments

Comments
 (0)