From f81544afe32300afdd10acb576770e4af6e0d8cb Mon Sep 17 00:00:00 2001 From: Jonathan Li <30177086+MonliH@users.noreply.github.com> Date: Sat, 10 Oct 2020 11:58:15 -0400 Subject: [PATCH] Document RUSTFMT env var behaviour --- src/doc/src/reference/environment-variables.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/doc/src/reference/environment-variables.md b/src/doc/src/reference/environment-variables.md index a630a5f58..135e4d089 100644 --- a/src/doc/src/reference/environment-variables.md +++ b/src/doc/src/reference/environment-variables.md @@ -49,6 +49,8 @@ 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 will execute this specified + `rustfmt` instance instead. #### Configuration environment variables -- 2.39.5