From 322c02f6544d9d159329ae7b623c35cdd634beec Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Sat, 9 Sep 2017 01:54:54 -0700 Subject: [PATCH] A better, but not yet good enough, 'rustfmt.toml'. --- rustfmt.toml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/rustfmt.toml b/rustfmt.toml index 4d4b614b..935ef839 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -1,2 +1,14 @@ max_width = 90 -fn_call_width = 80 +fn_call_width = 90 +condense_wildcard_suffixes = true +error_on_line_overflow = false +fn_args_density = "CompressedIfEmpty" +fn_call_style = "Visual" +chain_one_line_max = 80 +imports_layout = "Horizontal" +match_pattern_separator_break_point = "Front" +struct_lit_width = 40 +use_try_shorthand = true +where_style = "Legacy" +where_density = "Vertical" +where_layout = "HorizontalVertical"