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:
Martin von Zweigbergk 2022-06-09 11:10:48 -07:00 committed by Martin von Zweigbergk
parent 06e8496328
commit d90fd8bcb4

View file

@ -1,3 +1,4 @@
edition = "2021"
max_width = 100
wrap_comments = true
format_strings = true