Skip to content

Commit c9e4133

Browse files
committed
[NFC] Fix rusfmt misspellings
No functional changes. Just was bothering me :D
1 parent 86261bf commit c9e4133

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ci/check_diff.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function init_submodules() {
3636
git submodule update --init $1
3737
}
3838

39-
# Run rusfmt with the --check flag to see if a diff is produced.
39+
# Run rustfmt with the --check flag to see if a diff is produced.
4040
#
4141
# Parameters:
4242
# $1: Path to a rustfmt binary
@@ -65,12 +65,12 @@ function create_diff() {
6565
# $1: Name of the repository (used for logging)
6666
#
6767
# Globals:
68-
# $RUSFMT_BIN: Path to the rustfmt main binary. Created when running `compile_rustfmt`
68+
# $RUSTFMT_BIN: Path to the rustfmt main binary. Created when running `compile_rustfmt`
6969
# $FEATURE_BIN: Path to the rustfmt feature binary. Created when running `compile_rustfmt`
7070
# $OPTIONAL_RUSTFMT_CONFIGS: Optional configs passed to the script from $4
7171
function check_diff() {
7272
echo "running rustfmt (main) on $1"
73-
create_diff $RUSFMT_BIN rustfmt_diff.txt
73+
create_diff $RUSTFMT_BIN rustfmt_diff.txt
7474

7575
echo "running rustfmt (feature) on $1"
7676
create_diff $FEATURE_BIN feature_diff.txt $OPTIONAL_RUSTFMT_CONFIGS
@@ -140,9 +140,9 @@ function compile_rustfmt() {
140140

141141
echo -e "\nRuntime dependencies for rustfmt -- LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
142142

143-
RUSFMT_BIN=$1/rustfmt
144-
RUSTFMT_VERSION=$($RUSFMT_BIN --version)
145-
echo -e "\nRUSFMT_BIN $RUSTFMT_VERSION\n"
143+
RUSTFMT_BIN=$1/rustfmt
144+
RUSTFMT_VERSION=$($RUSTFMT_BIN --version)
145+
echo -e "\nRUSTFMT_BIN $RUSTFMT_VERSION\n"
146146

147147
FEATURE_BIN=$1/feature_rustfmt
148148
FEATURE_VERSION=$($FEATURE_BIN --version)

0 commit comments

Comments
 (0)