Skip to content

Commit 51ec872

Browse files
committed
Expand text about style guides for each edition, discuss new constructs
1 parent 0646850 commit 51ec872

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

text/3338-style-evolution.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,14 @@ requested in stable rustfmt. Nightly versions of style editions are subject to
6767
change and do not provide stability guarantees. New style editions will get
6868
stabilized contemporaneously with the corresponding Rust edition.
6969

70-
The style team will maintain distinct versions of the style guide for each style
71-
edition. Note that archived versions of the style guide may not necessarily
70+
The current version of the style guide will describe the latest Rust edition.
71+
Each distinct past style will have a corresponding archived version of the
72+
style guide. Note that archived versions of the style guide may not necessarily
7273
document formatting for newer Rust constructs that did not exist at the time
73-
that version of the style guide was archived.
74+
that version of the style guide was archived. However, each style edition will
75+
still format all constructs valid in that Rust edition, with the style of those
76+
constructs coming from the first subsequent style edition providing formatting
77+
rules for that construct.
7478

7579
# Rationale and alternatives
7680
[rationale-and-alternatives]: #rationale-and-alternatives

0 commit comments

Comments
 (0)