diff --git a/Configurations.md b/Configurations.md index f23506d5fe8d..3eb8cbd780f2 100644 --- a/Configurations.md +++ b/Configurations.md @@ -2275,7 +2275,7 @@ Specifies which edition is used by the parser. - **Default value**: `2015` - **Possible values**: `2015`, `2018` -- **Stable**: No +- **Stable**: Yes ### Example diff --git a/src/config/mod.rs b/src/config/mod.rs index 98754eb0b60a..c3b998d0211e 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -110,7 +110,7 @@ create_config! { "Maximum number of blank lines which can be put between items"; blank_lines_lower_bound: usize, 0, false, "Minimum number of blank lines which must be put between items"; - edition: Edition, Edition::Edition2015, false, "The edition of the parser (RFC 2052)"; + edition: Edition, Edition::Edition2015, true, "The edition of the parser (RFC 2052)"; // Options that can change the source code beyond whitespace/blocks (somewhat linty things) merge_derives: bool, true, true, "Merge multiple `#[derive(...)]` into a single one";