[librsvg/alatiera/rustfmt-docs] CONTRIBUTING.md: Update rustfmt documentation
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/alatiera/rustfmt-docs] CONTRIBUTING.md: Update rustfmt documentation
- Date: Sat, 15 Sep 2018 12:40:26 +0000 (UTC)
commit 3b2782e62080155d08266bf7fb72af16fc5871d8
Author: Jordan Petridis <jordanpetridis protonmail com>
Date: Fri Sep 14 22:45:39 2018 +0000
CONTRIBUTING.md: Update rustfmt documentation
CONTRIBUTING.md | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
---
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 1df6ec92..d54a99a2 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]