[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: Fri, 14 Sep 2018 22:48:14 +0000 (UTC)
commit 504344538ef4c8135354ec4e58e4f7e73d1c6029
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..ac01e65a 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 though the
+stable channel of [rustup](rustup.rs). You can install it with
```
-cargo +nightly install --force rustfmt-nightly
+rustup component add rustfmt-preview
```
-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]