File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/tools/rustfmt/src/config Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ pub(crate) mod style_edition;
2929// This macro defines configuration options used in rustfmt. Each option
3030// is defined as follows:
3131//
32- // `name: value type, default value, is stable, description;`
32+ // `name: value type, is stable, description;`
3333create_config ! {
3434 // Fundamental stuff
3535 max_width: MaxWidth , true , "Maximum width of each line" ;
@@ -149,7 +149,7 @@ create_config! {
149149 blank_lines_lower_bound: BlankLinesLowerBound , false ,
150150 "Minimum number of blank lines which must be put between items" ;
151151 edition: EditionConfig , true , "The edition of the parser (RFC 2052)" ;
152- style_edition: StyleEditionConfig , false , "The edition of the Style Guide (RFC 3338)" ;
152+ style_edition: StyleEditionConfig , true , "The edition of the Style Guide (RFC 3338)" ;
153153 version: VersionConfig , false , "Version of formatting rules" ;
154154 inline_attribute_width: InlineAttributeWidth , false ,
155155 "Write an item and its attribute on the same line \
Original file line number Diff line number Diff line change @@ -511,7 +511,6 @@ pub enum StyleEdition {
511511 Edition2021 ,
512512 #[ value = "2024" ]
513513 #[ doc_hint = "2024" ]
514- #[ unstable_variant]
515514 /// [Edition 2024]().
516515 Edition2024 ,
517516}
You can’t perform that action at this time.
0 commit comments