cargo*: add Chinese translation (#12312)

* cargo-*: add Chinese translation

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
Beriholic
2024-03-14 12:55:45 +08:00
committed by GitHub
parent 4efc84b7f1
commit 33770df77d
38 changed files with 772 additions and 0 deletions

View File

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