From 09d1efbd13b30b422acb002b29fd2bb5a629d3d9 Mon Sep 17 00:00:00 2001 From: 42319ebdb02fbed1af3ce2295d2a9efbdd8bd66923c9eddf5a897241f2997e9c <210840921+43c2358a8340943706719426aba37c7a@users.noreply.github.com> Date: Wed, 30 Jul 2025 12:13:39 +0800 Subject: [PATCH] Update ch17-01-futures-and-syntax.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复页面中的网页链接 --- src/ch17-01-futures-and-syntax.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ch17-01-futures-and-syntax.md b/src/ch17-01-futures-and-syntax.md index 9efeba2..ac7fd88 100644 --- a/src/ch17-01-futures-and-syntax.md +++ b/src/ch17-01-futures-and-syntax.md @@ -217,6 +217,10 @@ enum Either { 现在我们完成一个可用的小型网页爬虫的构建了!挑选一对 URL 并运行命令行工具。你会发现某些网站稳定地快于其它网站,而在另一些情况下哪个站点更快则因每次运行而异。更重要的是,你已经掌握了处理 futures 的基础知识,因此我们现在可以进一步探索更多 async 的可能性了。 +[crate-source]: https://github.com/rust-lang/book/tree/main/packages/trpl +[futures-crate]: https://crates.io/crates/futures +[tokio]: https://tokio.rs + [impl-trait]: ch10-02-traits.html#trait-作为参数 [iterators-lazy]: ch13-02-iterators.html [thread-spawn]: ch16-01-threads.html#creating-a-new-thread-with-spawn