Add rustfmt version bump
@@ -48,7 +48,7 @@ exit_with() {
}
program=$(basename "$0")
-rf_version="0.3.8"
+rf_version="0.4.1"
# Fix commit range in Travis, if set.
# See: https://github.com/travis-ci/travis-ci/issues/4596
@@ -61,12 +61,6 @@ if ! command -v rustfmt >/dev/null; then
exit_with "Program \`rustfmt' not found on PATH, aborting" 1
fi
-info "Checking for version $rf_version of rustfmt"
-actual="$(rustfmt --version | cut -d ' ' -f 1)"
-if [[ "$actual" != "$rf_version-nightly" ]]; then
- exit_with "\`rustfmt' version $actual doesn't match expected: $rf_version" 2
-fi
-
failed="$(mktemp -t "$(basename "$0")-failed-XXXX")"
# shellcheck disable=2154
trap 'code=$?; rm -f $failed; exit $code' INT TERM EXIT
