mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-11 12:05:35 +03:00
cargo-clippy: use long arguments (#6503)
This commit is contained in:
parent
972c942508
commit
8af1bb1145
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user