From dd9c15ad01f0412194ba670ec2a0b38fbecdf46f Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Fri, 18 May 2018 16:53:08 +1200 Subject: [PATCH] Unstabilise `unstable_features` cc #1974 --- Configurations.md | 2 +- src/config/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Configurations.md b/Configurations.md index da07adc6ca0..713ecbdab37 100644 --- a/Configurations.md +++ b/Configurations.md @@ -2062,7 +2062,7 @@ Enable unstable features on stable channel. - **Default value**: `false` - **Possible values**: `true`, `false` -- **Stable**: Yes +- **Stable**: No ## `license_template_path` diff --git a/src/config/mod.rs b/src/config/mod.rs index ac39ae2652f..1d76a06e3b5 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -123,7 +123,7 @@ create_config! { "What Color option to use when none is supplied: Always, Never, Auto"; required_version: String, env!("CARGO_PKG_VERSION").to_owned(), false, "Require a specific version of rustfmt."; - unstable_features: bool, false, true, + unstable_features: bool, false, false, "Enables unstable features. Only available on nightly channel"; disable_all_formatting: bool, false, false, "Don't reformat anything"; skip_children: bool, false, false, "Don't reformat out of line modules";