File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,12 @@ Note that rustfmt may not necessarily support all combinations of Rust edition
56
56
and style edition; in particular, it may not support using a style edition that
57
57
differs by more than one step from the Rust edition.
58
58
59
+ New style editions will be initially introduced as nightly-only, to make them
60
+ available for testing; such nightly-only editions will produce an error if
61
+ requested in stable rustfmt. Nightly versions of style editions are subject to
62
+ change and do not provide stability guarantees. New style editions will get
63
+ stabilized contemporaneously with the corresponding Rust edition.
64
+
59
65
The style team will maintain distinct versions of the style guide for each style
60
66
edition. Note that archived versions of the style guide may not necessarily
61
67
document formatting for newer Rust constructs that did not exist at the time
@@ -87,7 +93,8 @@ continuous-integration checks that check formatting.
87
93
# Prior art
88
94
[ prior-art ] : #prior-art
89
95
90
- The Rust edition mechanism itself serves as prior art.
96
+ The Rust edition mechanism itself serves as prior art, as does the mechanism of
97
+ nightly features remaining subject to change until stabilization.
91
98
92
99
` rustfmt ` has a still-unstable option ` version = "Two" ` to opt into new
93
100
formatting, though the exact changes this makes are not documented.
You can’t perform that action at this time.
0 commit comments