Commit f1e79b5
authored
Add
Unlike `cargo fmt`, `rustfmt` is agnostic to `Cargo.toml` and does not
pick up the edition from within that file. Instead, `rustfmt` decides
what edition to use based on what is specified inside of `.rustfmt.toml`
or if the edition is explicitly passed into the CLI command.
Having this file helps contributors who have configured auto formatting,
on file save or the like, using `rustfmt` rather than `cargo fmt`..rustfmt.toml (#369)1 parent 518ff05 commit f1e79b5
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments