Skip to content

Commit 2e7d1a1

Browse files
rcohtopecongiro
authored andcommitted
Include instructions to install on nightly (#2590)
1 parent bc05621 commit 2e7d1a1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ to run on a cargo project in the current working directory:
4141
cargo fmt
4242
```
4343

44+
For the latest and greatest `rustfmt` (nightly required):
45+
```
46+
rustup component add rustfmt-preview --toolchain nightly
47+
```
48+
To run:
49+
```
50+
cargo +nightly fmt
51+
```
4452

4553
## Limitations
4654

0 commit comments

Comments
 (0)