call out edition config in Quick start (#2837)

This commit is contained in:
Daniel Carosone 2018-07-28 18:04:55 +10:00
parent 69ad879d52
commit 1c6090c440

View File

@ -50,6 +50,12 @@ To run:
cargo +nightly fmt
```
To format code that requires edition 2018, create a `rustfmt.toml` [configuration](#configuring-rustfmt) file containing:
```toml
edition = "Edition2018"
```
## Limitations
Rustfmt tries to work on as much Rust code as possible, sometimes, the code