Skip to content

Commit

Permalink
Additional info to default value of edition.
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Mar 13, 2019
1 parent 5f3dfe6 commit cfd1811
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Configurations.md
Expand Up @@ -2358,9 +2358,9 @@ Specifies which edition is used by the parser.
- **Possible values**: `2015`, `2018`
- **Stable**: Yes

### Example

If you want to format code that requires edition 2018, add the following to your config file:
Rustfmt is able to pick up the edition used by reading the `Cargo.toml` file if executed
through the Cargo's formatting tool `cargo fmt`. Otherwise, the edition needs to be specified
in your config file:

```toml
edition = "2018"
Expand Down

0 comments on commit cfd1811

Please sign in to comment.