Skip to content

Commit e3b4bdd

Browse files
committed
Fix the documentation of the unstable_features option.
Fixes: rust-lang#5169 Ref: rust-lang#3387
1 parent ee2bed9 commit e3b4bdd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Diff for: Configurations.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ reorder_imports = false
1010
```
1111

1212
Each configuration option is either stable or unstable.
13-
Stable options can always be used, while unstable options are only available on a nightly toolchain and must be opted into.
14-
To enable unstable options, set `unstable_features = true` in `rustfmt.toml` or pass `--unstable-features` to rustfmt.
13+
Stable options can always be used, while unstable options are only available on a nightly toolchain.
1514

1615
# Configuration Options
1716

@@ -2734,7 +2733,7 @@ fn lorem<Ipsum: Dolor+Sit=Amet>() {
27342733

27352734
## `unstable_features`
27362735

2737-
Enable unstable features on the unstable channel.
2736+
**Deperacted and ignored.** Formerly used to enable unstable features on the unstable channel. Unstable features are now activated regardless of whether this option is present or not.
27382737

27392738
- **Default value**: `false`
27402739
- **Possible values**: `true`, `false`

0 commit comments

Comments
 (0)