Verified Commit 3b2782e6 authored by Jordan Petridis's avatar Jordan Petridis 🌱 Committed by Jordan Petridis

CONTRIBUTING.md: Update rustfmt documentation

parent 4418fd51
Pipeline #30757 passed with stages
in 8 minutes and 6 seconds
......@@ -161,19 +161,14 @@ of CI pipelines will fail:
indentation, but don't want it to make changes on its own:
`cargo fmt --all -- --check`
***Installing rustfmt*** As of 2018/Jun, our continuous integration
pipeline assumes the Rust nightly version of rustfmt. You can install
it with
***Installing rustfmt*** As of 2018/Sep, our continuous integration
pipeline assumes the version of rustfmt that is distributed through the
nightly channel of [rustup](rustup.rs). You can install it with
```
cargo +nightly install --force rustfmt-nightly
rustup component add rustfmt-preview --toolchain=nightly
```
Note that rustfmt changes frequently. If the CI pipeline fails on the
`Lint` stage because your code is formatted differently, try updating
your rustfmt. Hopefully this will stabilize once rustfmt reaches
version 1.0.
### Test suite
Please make sure that the test suite passes with the changes in your
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment