mirror of
https://github.com/martinvonz/jj.git
synced 2024-12-04 21:35:06 +00:00
d90fd8bcb4
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.
7 lines
172 B
TOML
7 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"
|