Update ch17-02-concurrency-with-async.md

pull/823/head
顾澜 3 weeks ago committed by GitHub
parent 23029e0bd8
commit cb6e6387db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -165,7 +165,7 @@ hi number 9 from the first task!
<span class="file-name">文件名src/main.rs</span> <span class="file-name">文件名src/main.rs</span>
```rust ```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}}
``` ```
<figcaption>示例 17-10通过异步信道发送和接收多个消息并在每个消息之间通过 `await` 休眠</figcaption> <figcaption>示例 17-10通过异步信道发送和接收多个消息并在每个消息之间通过 `await` 休眠</figcaption>

Loading…
Cancel
Save