mirror of
https://github.com/martinvonz/jj.git
synced 2024-09-11 05:45:30 +03:00
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.
8 lines
172 B
TOML
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"
|