From 3337d2454310a498f43fd62f879d26d1af379239 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Sun, 30 Aug 2020 22:07:16 +0200 Subject: [PATCH] =?UTF-8?q?Devise=20reasonably=20nice=20rustfmt.toml=20?= =?UTF-8?q?=F0=9F=8C=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rustfmt.toml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 rustfmt.toml diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 000000000..9196ae099 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,10 @@ +unstable_features = true + +overflow_delimited_expr = true +spaces_around_ranges = true +use_field_init_shorthand = true + +max_width = 90 +struct_lit_width = 40 +chain_width = 70 +single_line_if_else_max_width = 60