You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which version of the formatting rules to use. Version::One is backwards-compatible with Rustfmt > 1.0. Other versions are only backwards compatible within a major version number.
Default value: One
Possible values: One, Two
Stable: No (tracking issue: #3383)
But there is no entry for "style_edition".
However, looking at the tracing issue listed above (3383) we see that "version" is now listed as "not planned".
This may simply be a matter of needing to link to up-to-date docs on the github site, but bears mentioning.
Edit: Ah, I see, the link defaults to v1.6. Perhaps that's reasonable. I'm on nightly and this may be the source of confusion. I'm not sure what version stable uses.
The text was updated successfully, but these errors were encountered:
rustfmt.toml contains the following line:
When I run
cargo fmt
I get the following warning:However, the "version" is documented in this github repo's documentation here:
Configuring rustfmt: version
But there is no entry for "style_edition".
However, looking at the tracing issue listed above (3383) we see that "version" is now listed as "not planned".
This may simply be a matter of needing to link to up-to-date docs on the github site, but bears mentioning.
Edit: Ah, I see, the link defaults to v1.6. Perhaps that's reasonable. I'm on nightly and this may be the source of confusion. I'm not sure what version stable uses.
The text was updated successfully, but these errors were encountered: