Skip to content

Commit

Permalink
Auto merge of #8767 - MonliH:master, r=ehuss
Browse files Browse the repository at this point in the history
Document RUSTFMT environment variable

This PR documents the `RUSTFMT` enviorment variable, as specified in [rust-lang/rustfmt/4426](rust-lang/rustfmt#4426) and [rust-lang/rustfmt/4419](rust-lang/rustfmt#4419).
  • Loading branch information
bors committed Oct 13, 2020
2 parents 90594df + f6abaa6 commit 31e1f1f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/doc/src/reference/environment-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ system:
* `TERM` — If this is set to `dumb`, it disables the progress bar.
* `BROWSER` — The web browser to execute to open documentation with [`cargo
doc`]'s' `--open` flag.
* `RUSTFMT` — Instead of running `rustfmt`,
[`cargo fmt`](https://github.com/rust-lang/rustfmt) will execute this specified
`rustfmt` instance instead.

#### Configuration environment variables

Expand Down

0 comments on commit 31e1f1f

Please sign in to comment.