Merge pull request #2870 from dcarosone/edition-readme
call out edition config in Readme: Quick start (#2837)
This commit is contained in:
commit
fad88596dd
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue