mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-14 04:41:49 +08:00
Compare commits
No commits in common. "4011c304161ed3687fcebb15634712dbd3d243f0" and "23029e0bd8958fa193fecb5899bd60911db77373" have entirely different histories.
4011c30416
...
23029e0bd8
@ -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-09/src/main.rs:channel}}
|
||||
```
|
||||
|
||||
<figcaption>示例 17-10:通过异步信道发送和接收多个消息并在每个消息之间通过 `await` 休眠</figcaption>
|
||||
|
Loading…
Reference in New Issue
Block a user