Merge pull request #635 from Xuzheng77s/main

捉个小虫(Filename改为文件名)
This commit is contained in:
KaiserY 2022-08-17 22:09:20 +08:00 committed by GitHub
commit ee01ed3225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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}}