Clarify that we use rustfmt-preview.

This may help avoid confusion with older rustfmt versions.
This commit is contained in:
Dan Gohman
2018-08-27 09:51:02 -07:00
parent f39428a5cd
commit 9eee91fc12

View File

@@ -44,14 +44,14 @@ be aware of.
### rustfmt ### rustfmt
All PRs must be formatted according to the current stable [rustfmt], and this All PRs must be formatted according to rustfmt, and this is checked in the
is checked in the continuous integration tests. See the [rustfmt quickstart] continuous integration tests. We use the current stable [rustfmt-preview]
for setup. version. See the [rustfmt quickstart] for setup.
[format-all.sh] is a script for running the appropriate version of rustfmt, [format-all.sh] is a script for running the appropriate version of rustfmt,
which may be convenient when there are multiple versions installed. which may be convenient when there are multiple versions installed.
[rustfmt]: https://github.com/rust-lang-nursery/rustfmt [rustfmt-preview]: https://github.com/rust-lang-nursery/rustfmt
[rustfmt quickstart]: https://github.com/rust-lang-nursery/rustfmt#quick-start [rustfmt quickstart]: https://github.com/rust-lang-nursery/rustfmt#quick-start
[format-all.sh]: https://github.com/CraneStation/cranelift/blob/master/format-all.sh [format-all.sh]: https://github.com/CraneStation/cranelift/blob/master/format-all.sh