diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2025-09-21 23:09:05 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2025-09-21 23:09:05 +0800 |
| commit | fd0ab006118047738cb59fed66844051920e7a89 (patch) | |
| tree | 356dcd8638d768af627746438fc5f93efc0bfdb8 /dot-config/rustfmt | |
| parent | cba2c0f63d86a3fff78ebea426cea7482e9aa406 (diff) | |
rustfmt: enable small heuristics
Diffstat (limited to 'dot-config/rustfmt')
| -rw-r--r-- | dot-config/rustfmt/rustfmt.toml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/dot-config/rustfmt/rustfmt.toml b/dot-config/rustfmt/rustfmt.toml index 1a01b27c..b194a5ab 100644 --- a/dot-config/rustfmt/rustfmt.toml +++ b/dot-config/rustfmt/rustfmt.toml @@ -1,13 +1,13 @@ max_width = 104400000000 -# use_small_heuristics = "Max" +use_small_heuristics = "Max" -# chain_width = 0 -# fn_call_width = 0 -# attr_fn_like_width = 0 -# array_width = 0 -# struct_lit_width = 0 -# struct_variant_width = 0 -# single_line_if_else_max_width = 0 +chain_width = 0 +fn_call_width = 0 +attr_fn_like_width = 0 +array_width = 0 +struct_lit_width = 0 +struct_variant_width = 0 +single_line_if_else_max_width = 0 wrap_comments = true format_code_in_doc_comments = true |
