Browse Source

Add rustfmt.toml

Fabian 5 years ago
parent
commit
9bf49105ec
1 changed files with 6 additions and 0 deletions
  1. 6 0
      .rustfmt.toml

+ 6 - 0
.rustfmt.toml

@@ -0,0 +1,6 @@
+normalize_comments = true
+use_field_init_shorthand = true
+match_block_trailing_comma = true
+fn_single_line = true
+imports_indent = "Block"
+control_brace_style = "ClosingNextLine"