mirror of
https://github.com/dtolnay/cargo-expand.git
synced 2025-04-04 05:17:37 +03:00
Add a note about requiring nightly
This commit is contained in:
parent
f87aa416f0
commit
09f426e077
1 changed files with 4 additions and 0 deletions
|
@ -22,6 +22,10 @@ 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`.
|
||||
|
||||
## Example
|
||||
|
||||
#### `$ cat src/main.rs`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue