add new chinese translations
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
# cargo fix
|
||||
|
||||
> 自动修复 `rustc` 报告的 lint 警告。
|
||||
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-fix.html>.
|
||||
> 更多信息:<https://doc.rust-lang.org/cargo/commands/cargo-fix.html>。
|
||||
|
||||
- 即使已经有编译器错误,也要修复代码:
|
||||
- 即使代码已经有编译错误,也修复代码:
|
||||
|
||||
`cargo fix --broken-code`
|
||||
|
||||
- 即使工作目录有更改,也要修复代码:
|
||||
- 即使工作目录有更改,也修复代码:
|
||||
|
||||
`cargo fix --allow-dirty`
|
||||
|
||||
- 将一个包迁移到下一个 Rust 版本:
|
||||
- 将包迁移到下一个 Rust 版本:
|
||||
|
||||
`cargo fix --edition`
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
|
||||
- 修复指定的集成测试:
|
||||
|
||||
`cargo fix --test {{名称}}`
|
||||
`cargo fix --test {{name}}`
|
||||
|
||||
- 修复工作区中的所有成员:
|
||||
|
||||
`cargo fix --workspace`
|
||||
`cargo fix --workspace`
|
Reference in New Issue
Block a user