mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-23 21:02:18 +08:00
commit
ee01ed3225
@ -99,7 +99,7 @@
|
||||
- [使用线程同时地运行代码](ch16-01-threads.md)
|
||||
- [使用消息传递在线程间通信](ch16-02-message-passing.md)
|
||||
- [共享状态并发](ch16-03-shared-state.md)
|
||||
- [使用`Sync` 与 `Send` Traits 的可扩展并发:](ch16-04-extensible-concurrency-sync-and-send.md)
|
||||
- [使用`Sync` 与 `Send` Traits 的可扩展并发](ch16-04-extensible-concurrency-sync-and-send.md)
|
||||
|
||||
- [Rust 的面向对象编程特性](ch17-00-oop.md)
|
||||
- [面向对象语言的特点](ch17-01-what-is-oo.md)
|
||||
|
@ -253,7 +253,7 @@ Rust 提示我们的代码忽略了 `Result` 值,它可能表明这里存在
|
||||
|
||||
现在需要在 *src/main.rs* 中将移动到 *src/lib.rs* 的代码引入二进制 crate 的作用域中,如示例 12-14 所示:
|
||||
|
||||
<span class="filename">Filename: src/main.rs</span>
|
||||
<span class="filename">文件名: src/main.rs</span>
|
||||
|
||||
```rust,ignore
|
||||
{{#rustdoc_include ../listings/ch12-an-io-project/listing-12-14/src/main.rs:here}}
|
||||
|
Loading…
Reference in New Issue
Block a user