mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 14:47:47 +00:00
cargo clippy completions (#296)
Co-authored-by: Francesc Elies <francesc.elies@mbbm-ast.com>
This commit is contained in:
parent
7ba3b00bb5
commit
b42a0a4c9b
1 changed files with 8 additions and 0 deletions
|
@ -487,3 +487,11 @@ export extern "cargo help" [
|
|||
--verbose(-v) # Use verbose output. May be specified twice for "very verbose" output
|
||||
-Z: any # Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details
|
||||
]
|
||||
|
||||
# A bunch of lints to catch common mistakes and improve your Rust code
|
||||
export extern "cargo clippy" [
|
||||
--no-deps # Run Clippy only on the given crate, without linting the dependencies
|
||||
--fix # Automatically apply lint suggestions. This flag implies `--no-deps
|
||||
--version(-V) # Prints version information
|
||||
--help(-h) # Prints help information
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue