Include instructions to install on nightly (#2590)
This commit is contained in:
parent
bc05621f9b
commit
2e7d1a1184
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue