cargo-clippy: use long arguments (#6503)

This commit is contained in:
Nicolas Kosinski
2021-09-12 21:07:08 +02:00
committed by GitHub
parent 972c942508
commit 8af1bb1145

View File

@@ -21,12 +21,12 @@
- Treat warnings as errors: - Treat warnings as errors:
`RUSTFLAGS="-Dwarnings" cargo clippy -- -D warnings` `cargo clippy -- --deny warnings`
- Run checks and ignore warnings: - Run checks and ignore warnings:
`cargo clippy -- -A warnings` `cargo clippy -- --allow warnings`
- Apply Clippy suggestion automatically (experimental and only supported on the nightly channel): - Apply Clippy suggestions automatically:
`cargo clippy --fix -Z unstable-options` `cargo clippy --fix`