Use rustfmt from nightly
@@ -18,7 +18,7 @@ stages:
checkfmt:rustfmt:
stage: checkfmt
variables:
- toolchain: stable
+ toolchain: nightly
script:
- rustup component add rustfmt --toolchain $toolchain
- cargo fmt --all -- --check
