summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dot-config/rustfmt/rustfmt.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/dot-config/rustfmt/rustfmt.toml b/dot-config/rustfmt/rustfmt.toml
index 91d62c55..725bac0d 100644
--- a/dot-config/rustfmt/rustfmt.toml
+++ b/dot-config/rustfmt/rustfmt.toml
@@ -1 +1,13 @@
max_width = 104400000000
+use_small_heuristics = "Max"
+
+chain_width = 72
+fn_call_width = 72
+attr_fn_like_width = 72
+array_width = 72
+struct_lit_width = 72
+struct_variant_width = 72
+single_line_if_else_max_width = 72
+
+wrap_comments = true
+format_code_in_doc_comments = true