mirror of
https://github.com/dtolnay/cargo-expand.git
synced 2025-04-03 21:07:37 +03:00
Update rustfmt installation command
This commit is contained in:
parent
f7ced95181
commit
041b701b09
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue