Stabilize edition configuration option

Refs: #3104.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2018-10-24 22:31:42 -03:00
parent 6739dbe77d
commit 9c3ae2d951
2 changed files with 2 additions and 2 deletions

View File

@ -2275,7 +2275,7 @@ Specifies which edition is used by the parser.
- **Default value**: `2015` - **Default value**: `2015`
- **Possible values**: `2015`, `2018` - **Possible values**: `2015`, `2018`
- **Stable**: No - **Stable**: Yes
### Example ### Example

View File

@ -110,7 +110,7 @@ create_config! {
"Maximum number of blank lines which can be put between items"; "Maximum number of blank lines which can be put between items";
blank_lines_lower_bound: usize, 0, false, blank_lines_lower_bound: usize, 0, false,
"Minimum number of blank lines which must be put between items"; "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) // 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"; merge_derives: bool, true, true, "Merge multiple `#[derive(...)]` into a single one";