This is a first step toward fully-automated formatting. A custom format is used, primarily to tell rustfmt to wrap at column 80(-ish) instead of column 100(-ish), and to use more compact styles. Many rustfmt suggestions for rewrapping function calls were ignored because they did not result in the minimum number of lines and/or because I'm still unsure the best way to format a long chain. Some suggestions for reformatting macros were ignored because they ruined the indention. Some other suggestions were ignored because they seemed like bugs and/or seemed to make things clearly worse. Further work is planned, in order to make the formatting fully automatic.
9 lines
192 B
TOML
9 lines
192 B
TOML
max_width = 80
|
|
ideal_width = 80
|
|
fn_call_width = 80
|
|
force_explicit_abi = false
|
|
fn_single_line = true
|
|
fn_args_density = "Compressed"
|
|
match_block_trailing_comma = true
|
|
normalize_comments = false
|