summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck2
1 files changed, 1 insertions, 1 deletions
diff --git a/check b/check
index 3c68bdc..c82d8b6 100755
--- a/check
+++ b/check
@@ -17,7 +17,7 @@ fi
got_cargo_cmd()
{
- cargo --list | grep " $1 " > /dev/null
+ cargo "$1" --help > /dev/null
}
got_cargo_cmd clippy && cargo clippy -q