update appendix & readme

pull/696/head
KaiserY 2 years ago
parent 49a842503d
commit 3ffad91990

@ -1,10 +1,10 @@
# Rust 程序设计语言2021 edition 施工中)简体中文版 # Rust 程序设计语言2021 edition简体中文版
![Build Status](https://github.com/KaiserY/trpl-zh-cn/workflows/CI/badge.svg) ![Build Status](https://github.com/KaiserY/trpl-zh-cn/workflows/CI/badge.svg)
## 状态 ## 状态
施工 施工完毕
PS: PS:

@ -2,7 +2,7 @@
> [appendix-04-useful-development-tools.md](https://github.com/rust-lang/book/blob/main/src/appendix-04-useful-development-tools.md) > [appendix-04-useful-development-tools.md](https://github.com/rust-lang/book/blob/main/src/appendix-04-useful-development-tools.md)
> <br /> > <br />
> commit efbafdba3618487fbc9305318fcab9775132ac15 > commit 5057f157cd0b35bc7d0dc0af6ef622fa4c480996
本附录,我们将讨论 Rust 项目提供的用于开发 Rust 代码的工具。 本附录,我们将讨论 Rust 项目提供的用于开发 Rust 代码的工具。
@ -116,14 +116,15 @@ fn main() {
在此项目上运行 `cargo clippy` 会导致这个错误: 在此项目上运行 `cargo clippy` 会导致这个错误:
```text ```text
error: approximate value of `f{32, 64}::consts::PI` found. Consider using it directly error: approximate value of `f{32, 64}::consts::PI` found
--> src/main.rs:2:13 --> src/main.rs:2:13
| |
2 | let x = 3.1415; 2 | let x = 3.1415;
| ^^^^^^ | ^^^^^^
| |
= note: #[deny(clippy::approx_constant)] on by default = note: `#[deny(clippy::approx_constant)]` on by default
= help: for further information visit https://rust-lang-nursery.github.io/rust-clippy/master/index.html#approx_constant = help: consider using the constant directly
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#approx_constant
``` ```
这告诉我们 Rust 定义了更为精确的常量,而如果使用了这些常量程序将更加准确。如下代码就不会导致 `clippy` 产生任何错误或警告: 这告诉我们 Rust 定义了更为精确的常量,而如果使用了这些常量程序将更加准确。如下代码就不会导致 `clippy` 产生任何错误或警告:

@ -2,7 +2,7 @@
> [appendix-06-translation.md](https://github.com/rust-lang/book/blob/main/src/appendix-06-translation.md) > [appendix-06-translation.md](https://github.com/rust-lang/book/blob/main/src/appendix-06-translation.md)
> <br /> > <br />
> commit f77e8c47bd04dd68094aaa7483e9dbf4d7386b8c > commit 4c8d13c52c51f1c62a80b52d7fbd7cc0b63ada43
一些非英语语言的资源。多数仍在翻译中;查阅 [翻译标签][label] 来帮助翻译,或者添加译本链接! 一些非英语语言的资源。多数仍在翻译中;查阅 [翻译标签][label] 来帮助翻译,或者添加译本链接!
@ -14,7 +14,7 @@
- [正體中文](https://github.com/rust-tw/book-tw) - [正體中文](https://github.com/rust-tw/book-tw)
- [Українська](https://github.com/pavloslav/rust-book-uk-ua) - [Українська](https://github.com/pavloslav/rust-book-uk-ua)
- [Español](https://github.com/thecodix/book), [alternate](https://github.com/ManRR/rust-book-es) - [Español](https://github.com/thecodix/book), [alternate](https://github.com/ManRR/rust-book-es)
- [Italiano](https://github.com/Ciro-Fusco/book_it) - [Italiano](https://github.com/EmanueleGurini/book_it)
- [Русский](https://github.com/rust-lang-ru/book) - [Русский](https://github.com/rust-lang-ru/book)
- [한국어](https://github.com/rinthel/rust-lang-book-ko) - [한국어](https://github.com/rinthel/rust-lang-book-ko)
- [日本語](https://github.com/rust-lang-ja/book-ja) - [日本語](https://github.com/rust-lang-ja/book-ja)
@ -27,7 +27,6 @@
- [Svenska](https://github.com/sebras/book) - [Svenska](https://github.com/sebras/book)
- [Farsi](https://github.com/pomokhtari/rust-book-fa) - [Farsi](https://github.com/pomokhtari/rust-book-fa)
- [Deutsch](https://github.com/rust-lang-de/rustbook-de) - [Deutsch](https://github.com/rust-lang-de/rustbook-de)
- [Turkish](https://github.com/RustDili/dokuman/tree/master/ceviriler), [online](https://rustdili.github.io/)
- [हिंदी](https://github.com/venkatarun95/rust-book-hindi) - [हिंदी](https://github.com/venkatarun95/rust-book-hindi)
- [ไทย](https://github.com/rust-lang-th/book-th) - [ไทย](https://github.com/rust-lang-th/book-th)
- [Danske](https://github.com/DanKHansen/book-dk) - [Danske](https://github.com/DanKHansen/book-dk)

Loading…
Cancel
Save