add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,16 +1,16 @@
# cargo fmt
> Rust 项目中对所有源文件运行 `rustfmt`。
> 更多信息:<https://github.com/rust-lang/rustfmt>.
> 在Rust项目所有源文件运行`rustfmt`。
> 更多信息:<https://github.com/rust-lang/rustfmt>
- 格式化所有源文件:
`cargo fmt`
- 检查格式错误,不对文件进行写入操作
- 检查格式错误而不写入文件
`cargo fmt --check`
- 将参数传递给每个 rustfmt 调用:
- 将参数传递给每个`rustfmt`调用:
`cargo fmt -- {{rustfmt参数}}`
`cargo fmt -- {{rustfmt_args}}`