mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-15 16:35:44 +02:00
cargo-clippy: use long arguments (#6503)
This commit is contained in:
parent
972c942508
commit
8af1bb1145
1 changed files with 4 additions and 4 deletions
|
@ -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`
|
||||||
|
|
Loading…
Add table
Reference in a new issue