mirror of
https://github.com/dtolnay/cargo-expand.git
synced 2025-04-03 21:07:37 +03:00
Document new behavior on non-nightly toolchains
This commit is contained in:
parent
db455ab726
commit
a15c4adc14
1 changed files with 5 additions and 3 deletions
|
@ -22,9 +22,11 @@ This command optionally uses [`Pygments`](http://pygments.org/) to colorize the
|
|||
expanded output. If `Pygments` is not available, the expanded code is not
|
||||
colorized. Install with `pip install Pygments`.
|
||||
|
||||
Cargo expand requires a nightly toolchain because it relies on unstable compiler
|
||||
flags. If nightly is not your default toolchain, the `cargo expand` commands
|
||||
shown below will need to be run as `cargo +nightly expand`.
|
||||
Cargo expand relies on unstable compiler flags so it requires a nightly
|
||||
toolchain to be installed, though does not require nightly to be the default
|
||||
toolchain or the one with which cargo expand itself is executed. If the default
|
||||
toolchain is one other than nightly, running `cargo expand` will find and use
|
||||
nightly anyway.
|
||||
|
||||
## Example
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue