summaryrefslogtreecommitdiffhomepage
path: root/format.sh
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-12-18 11:02:04 +0100
committerLinus Färnstrand <linus@mullvad.net>2017-12-18 11:02:04 +0100
commit7f15829f2dbed506150445cdf53ea6bc05fe9437 (patch)
tree98997c8bd1e3e36b477df0ff8aa5112153e26eca /format.sh
parentc53c07dcd8057533e690e062c0aafc6547992dfa (diff)
parente6fbde01fcdfc6181015f71ce753a038a48509df (diff)
downloadmullvadvpn-7f15829f2dbed506150445cdf53ea6bc05fe9437.tar.xz
mullvadvpn-7f15829f2dbed506150445cdf53ea6bc05fe9437.zip
Merge branch 'upgrade-dependencies'
Diffstat (limited to 'format.sh')
-rwxr-xr-xformat.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/format.sh b/format.sh
index ee72288862..b136c006cc 100755
--- a/format.sh
+++ b/format.sh
@@ -5,7 +5,7 @@
set -u
-VERSION="0.2.17"
+VERSION="0.3.2"
CMD="rustfmt"
INSTALL_CMD="cargo install --vers $VERSION --force rustfmt-nightly"
@@ -15,10 +15,6 @@ case "$(uname -s)" in
*) echo "Unsupported platform"; exit 1
esac
-# Allow rustfmt to use "nighly" features. `comment_width` is one of those for example.
-# 0.2.17 started enforcing setting this variable to allow using the nighly features.
-export CFG_RELEASE_CHANNEL=nightly
-
function correct_rustfmt() {
if ! which $CMD; then
echo "$CMD is not installed" >&2