forked from mirrors/jj
rustfmt: set edition to 2021
We have `edition = "2021"` in our `Cargo.toml` files, so it makes sense to have `rustfmt` use the same edition. That will let us format code using `async` and `await`. I noticed this while looking at @arxanas's fsmonitor PR.
This commit is contained in:
parent
06e8496328
commit
d90fd8bcb4
1 changed files with 1 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
edition = "2021"
|
||||
max_width = 100
|
||||
wrap_comments = true
|
||||
format_strings = true
|
||||
|
|
Loading…
Reference in a new issue