From cb6e6387dbaf1545d84d2cee71690634f7fe8ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A1=BE=E6=BE=9C?= Date: Sun, 3 Nov 2024 14:51:53 +0800 Subject: [PATCH] Update ch17-02-concurrency-with-async.md --- src/ch17-02-concurrency-with-async.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch17-02-concurrency-with-async.md b/src/ch17-02-concurrency-with-async.md index fa6950e..b4857a7 100644 --- a/src/ch17-02-concurrency-with-async.md +++ b/src/ch17-02-concurrency-with-async.md @@ -165,7 +165,7 @@ hi number 9 from the first task! 文件名:src/main.rs ```rust -{{#rustdoc_include ../listings/ch17-async-await/listing-17-09/src/main.rs:channel}} +{{#rustdoc_include ../listings/ch17-async-await/listing-17-10/src/main.rs:channel}} ```
示例 17-10:通过异步信道发送和接收多个消息并在每个消息之间通过 `await` 休眠