Skip to content

Commit 2edc456

Browse files
committed
Remove --all flag
The `--all` flag is deprecated, replaced by `--workspace`. This repository does not use workspaces so the flag is useless. Remove the usage of the cargo `--all` flag.
1 parent 1a09248 commit 2edc456

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ fi
3131
if [ "$DO_FMT" = true ]
3232
then
3333
rustup component add rustfmt
34-
cargo fmt --all -- --check
34+
cargo fmt -- --check
3535
fi
3636

3737
# Fuzz if told to
@@ -97,7 +97,7 @@ fi
9797

9898
# Build the docs if told to (this only works with the nightly toolchain)
9999
if [ "$DO_DOCS" = true ]; then
100-
RUSTDOCFLAGS="--cfg docsrs" cargo doc --all --features="$FEATURES"
100+
RUSTDOCFLAGS="--cfg docsrs" cargo doc --features="$FEATURES"
101101
fi
102102

103103
exit 0

0 commit comments

Comments
 (0)