@@ -45,12 +45,16 @@ style as the Rust edition used for parsing.
4545
4646However, when transitioning between editions, projects may want to separately
4747make and commit the changes for 1) transitioning to a new Rust edition and 2)
48- transitioning to a new style edition. To allow for this, ` rustfmt ` also allows
49- configuring the style edition directly, via a separate ` style_edition `
50- configuration option, or ` --style-edition ` command-line option. ` style_edition `
51- or ` --style-edition ` , if set, always overrides ` edition ` or ` --edition ` for the
52- purposes of styling, though ` edition ` or ` --edition ` still determines the
53- edition for the purposes of parsing Rust code.
48+ transitioning to a new style edition. Keeping formatting changes in a separate
49+ commit also helps tooling ignore that commit, such as with git's
50+ ` blame.ignoreRevsFile ` .
51+
52+ To allow for this, ` rustfmt ` also allows configuring the style edition
53+ directly, via a separate ` style_edition ` configuration option, or
54+ ` --style-edition ` command-line option. ` style_edition ` or ` --style-edition ` , if
55+ set, always overrides ` edition ` or ` --edition ` for the purposes of styling,
56+ though ` edition ` or ` --edition ` still determines the edition for the purposes
57+ of parsing Rust code.
5458
5559Note that rustfmt may not necessarily support all combinations of Rust edition
5660and style edition; in particular, it may not support using a style edition that
0 commit comments