diff --git a/scripts/format.sh b/scripts/format.sh index 1c62717c827f9..6800b0eb18279 100755 --- a/scripts/format.sh +++ b/scripts/format.sh @@ -17,5 +17,5 @@ echo " google-java-format" >&2 find "$PWD/java" -type f -name '*.java' | xargs "$GOOGLE_JAVA_FORMAT" --replace section "Rust" -echo " rustfmt (fix with: bazel run @rules_rust//:rustfmt)" >&2 -bazel test //rust/... --test_tag_filters="rust-rustfmt" --build_tests_only +echo " rustfmt" >&2 +bazel run @rules_rust//:rustfmt