Skip to content

Commit

Permalink
Fix the documentation of the unstable_features option.
Browse files Browse the repository at this point in the history
  • Loading branch information
krtab committed Jan 2, 2023
1 parent ee2bed9 commit e3b4bdd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ reorder_imports = false
```

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

# Configuration Options

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

## `unstable_features`

Enable unstable features on the unstable channel.
**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.

- **Default value**: `false`
- **Possible values**: `true`, `false`
Expand Down

0 comments on commit e3b4bdd

Please sign in to comment.