summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
Diffstat (limited to 'check')
-rwxr-xr-xcheck6
1 files changed, 1 insertions, 5 deletions
diff --git a/check b/check
index 29032dc..c3b0d8a 100755
--- a/check
+++ b/check
@@ -18,11 +18,7 @@ fi
cargo build --all-targets $quiet
cargo clippy $quiet
+cargo fmt -- --check
$hideok cargo test $quiet
-if command -v rustfmt > /dev/null
-then
- find src -type f -name '*.rs' -exec rustfmt --check '{}' +
-fi
-
echo "Everything seems to be in order."