Skip to content

Commit

Permalink
Merge pull request #831 from wujunchengman/main
Browse files Browse the repository at this point in the history
update 17-10 code
  • Loading branch information
KaiserY authored Dec 3, 2024
2 parents 630d408 + e878bbf commit e478fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch17-02-concurrency-with-async.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ hi number 9 from the first task!
<span class="file-name">文件名:src/main.rs</span>

```rust
{{#rustdoc_include ../listings/ch17-async-await/listing-17-10/src/main.rs:channel}}
{{#rustdoc_include ../listings/ch17-async-await/listing-17-10/src/main.rs:many-messages}}
```

<figcaption>示例 17-10:通过异步信道发送和接收多个消息并在每个消息之间通过 `await` 休眠</figcaption>
Expand Down

0 comments on commit e478fd0

Please sign in to comment.