Include instructions to install on nightly (#2590)

This commit is contained in:
Russell Cohen 2018-04-02 19:10:50 -07:00 committed by Seiichi Uchida
parent bc05621f9b
commit 2e7d1a1184

View file

@ -41,6 +41,14 @@ to run on a cargo project in the current working directory:
cargo fmt cargo fmt
``` ```
For the latest and greatest `rustfmt` (nightly required):
```
rustup component add rustfmt-preview --toolchain nightly
```
To run:
```
cargo +nightly fmt
```
## Limitations ## Limitations