jj/rustfmt.toml
Martin von Zweigbergk d90fd8bcb4 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.
2022-06-09 14:41:11 -07:00

8 lines
172 B
TOML

edition = "2021"
max_width = 100
wrap_comments = true
format_strings = true
error_on_line_overflow = true
group_imports = "StdExternalCrate"
imports_granularity = "Module"