From 953a999d8f442b19758699d97c6227d353f9547d Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 21 Nov 2017 20:56:59 +0100 Subject: Add rustfmt.toml for style tweaks --- rustfmt.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 rustfmt.toml diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..a6a84af --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,5 @@ +brace_style = "PreferSameLine" +fn_args_density = "Compressed" +match_block_trailing_comma = true +struct_lit_width = 60 +use_try_shorthand = true -- cgit