From d04eea634a3ac35d481fa26c35271dfe175bf3e2 Mon Sep 17 00:00:00 2001 From: Harrisonn Date: Wed, 11 Sep 2024 19:51:33 -0300 Subject: [PATCH] fix: `cargo clippy` linting flags need to accept strings (#947) The linting flags `--warn`, `--deny`, `--allow` and `--forbid` have `string` type rather than `bool` Signed-off-by: OJarrisonn --- custom-completions/cargo/cargo-completions.nu | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/custom-completions/cargo/cargo-completions.nu b/custom-completions/cargo/cargo-completions.nu index 6763ea97a..b138ded73 100644 --- a/custom-completions/cargo/cargo-completions.nu +++ b/custom-completions/cargo/cargo-completions.nu @@ -497,10 +497,10 @@ export extern "cargo clippy" [ --fix # Automatically apply lint suggestions. This flag implies `--no-deps --version(-V) # Prints version information --help(-h) # Prints help information - --warn(-W) # Set lint warnings - --allow(-A) # Set lint allowed - --deny(-D) # Set lint denied - --forbid(-F) # Set lint forbidden + --warn(-W): string # Set lint warnings + --allow(-A): string # Set lint allowed + --deny(-D): string # Set lint denied + --forbid(-F): string # Set lint forbidden --package(-p): string@"nu-complete cargo packages" #Check only the specified packages --workspace # Check all members in the workspace --all # Alias for --workspace (deprecated)