From 7179111c29670f2e224a53d463c0f25e0ee8e0cd Mon Sep 17 00:00:00 2001 From: David Arnold Date: Sat, 29 Jan 2022 21:32:04 -0500 Subject: [PATCH] chore: cleaner rustfmt args --- treefmt.toml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/treefmt.toml b/treefmt.toml index 8b52479..816146c 100644 --- a/treefmt.toml +++ b/treefmt.toml @@ -25,7 +25,23 @@ command = "rustfmt" options = [ "--edition", "2021", "--config", - "enum_discrim_align_threshold=999,format_code_in_doc_comments=true,format_generated_files=true,format_macro_bodies=true,format_macro_matchers=true,format_strings=true,hex_literal_case=Lower,imports_granularity=Crate,imports_layout=HorizontalVertical,max_width=80,normalize_comments=true,normalize_doc_attributes=true,reorder_impl_items=true,struct_field_align_threshold=999,unstable_features=true,use_small_heuristics=Max,version=Two", + """enum_discrim_align_threshold=999,\ + format_code_in_doc_comments=true,\ + format_generated_files=true,\ + format_macro_bodies=true,\ + format_macro_matchers=true,\ + format_strings=true,\ + hex_literal_case=Lower,\ + imports_granularity=Crate,\ + imports_layout=HorizontalVertical,\ + max_width=80,\ + normalize_comments=true,\ + normalize_doc_attributes=true,\ + reorder_impl_items=true,\ + struct_field_align_threshold=999,\ + unstable_features=true,\ + use_small_heuristics=Max,\ + version=Two""", ] includes = ["*.rs"]