cargo-clippy: use long arguments (#6503)
This commit is contained in:
@@ -21,12 +21,12 @@
|
||||
|
||||
- Treat warnings as errors:
|
||||
|
||||
`RUSTFLAGS="-Dwarnings" cargo clippy -- -D warnings`
|
||||
`cargo clippy -- --deny 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`
|
||||
|
Reference in New Issue
Block a user