1
Fork 0
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:
Francesc Elies 2022-09-22 16:55:52 +02:00 committed by GitHub
parent 7ba3b00bb5
commit b42a0a4c9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
]