From f0ef6ed01647c24b5629f14bee6aabdbf77e5b4f Mon Sep 17 00:00:00 2001 From: Tomusdrw Date: Tue, 16 Feb 2016 10:21:46 +0100 Subject: [PATCH] If-else in single line --- rustfmt.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 rustfmt.toml diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 000000000..0b377a371 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,14 @@ +verbose=false +max_width=150 +ideal_width=120 +tabs_spaces=4 +fn_call_width=100 +single_line_if_else=true +where_indent="Visual" +where_trailing_comma=true +chain_base_indent="Inherit" +chain_indent="Tabbed" +reorder_imports=true +format_strings=false +hard_tabs=true +wrap_match_arms=false