bc59f83f02
We were using ideal width + leeway before. This means we can remove leeway from the config. We could remove ideal_width too, but I want to use it for comments.
27 lines
669 B
TOML
27 lines
669 B
TOML
max_width = 100
|
|
ideal_width = 80
|
|
tab_spaces = 2
|
|
newline_style = "Unix"
|
|
fn_brace_style = "SameLineWhere"
|
|
fn_return_indent = "WithArgs"
|
|
fn_args_paren_newline = true
|
|
fn_args_density = "Tall"
|
|
fn_args_layout = "Visual"
|
|
fn_arg_indent = "Visual"
|
|
where_density = "Tall"
|
|
where_indent = "Tabbed"
|
|
where_layout = "Vertical"
|
|
where_pred_indent = "Visual"
|
|
generics_indent = "Visual"
|
|
struct_trailing_comma = "Vertical"
|
|
struct_lit_trailing_comma = "Vertical"
|
|
struct_lit_style = "Block"
|
|
enum_trailing_comma = true
|
|
report_todo = "Always"
|
|
report_fixme = "Never"
|
|
reorder_imports = false
|
|
single_line_if_else = false
|
|
format_strings = true
|
|
chains_overflow_last = true
|
|
take_source_hints = true
|