From fd0ab006118047738cb59fed66844051920e7a89 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 21 Sep 2025 23:09:05 +0800 Subject: rustfmt: enable small heuristics --- dot-config/rustfmt/rustfmt.toml | 16 ++++++++-------- 1 file 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 -- cgit v1.2.3