We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 296c4ad commit f352f38Copy full SHA for f352f38
README.md
@@ -106,6 +106,9 @@ The easiest way to run rustfmt against a project is with `cargo fmt`. `cargo fmt
106
single-crate projects and [cargo workspaces](https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html).
107
Please see `cargo fmt --help` for usage information.
108
109
+You can specify the path to your own `rustfmt` binary for cargo to use by setting the`RUSTFMT`
110
+environment variable. This was added in v1.4.22, so you must have this version or newer to leverage this feature (`cargo fmt --version`)
111
+
112
### Running `rustfmt` directly
113
114
To format individual files or arbitrary codes from stdin, the `rustfmt` binary should be used. Some
0 commit comments