doc: simplify environment variable setting

This commit is contained in:
rzhb 2023-07-11 10:23:28 +08:00 committed by Yacin Tmimi
parent 5805040d28
commit b5dcc6ff0e

View File

@ -59,7 +59,7 @@ example, the `issue-1111.rs` test file is configured by the file
## Debugging
Some `rewrite_*` methods use the `debug!` macro for printing useful information.
These messages can be printed by using the environment variable `RUSTFMT_LOG=rustfmt=DEBUG`.
These messages can be printed by using the environment variable `RUSTFMT_LOG=debug`.
These traces can be helpful in understanding which part of the code was used
and get a better grasp on the execution flow.