mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-24 13:43:04 +00:00
call out edition config in Quick start (#2837)
This commit is contained in:
parent
69ad879d52
commit
1c6090c440
@ -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…
Reference in New Issue
Block a user