Update rustfmt installation command

This commit is contained in:
David Tolnay 2018-04-30 01:28:17 -07:00
parent f7ced95181
commit 041b701b09
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -15,7 +15,8 @@ This command optionally uses
[`rustfmt`](https://github.com/rust-lang-nursery/rustfmt)
to format the expanded output. The resulting code is typically much more
readable than what you get from the compiler. If `rustfmt` is not available, the
expanded code is not formatted. Install `rustfmt` with `cargo install rustfmt`.
expanded code is not formatted. Install `rustfmt` with `rustup component add
rustfmt-preview`.
This command optionally uses [`Pygments`](http://pygments.org/) to colorize the
expanded output. If `Pygments` is not available, the expanded code is not