Skip to content

Commit 88ade26

Browse files
committed
Add rustfmt.toml
1 parent 22a0bfc commit 88ade26

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

rustfmt.toml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
disable_all_formatting = true
1+
hard_tabs = true # use tab characters for indentation, spaces for alignment
2+
use_field_init_shorthand = true
3+
chain_width = 100
4+
max_width = 100
5+
use_small_heuristics = "Max"
6+
fn_params_layout = "Compressed"
7+
fn_single_line = true
8+
match_arm_blocks = false
9+
match_block_trailing_comma = true
10+
overflow_delimited_expr = true
11+
format_strings = true

0 commit comments

Comments
 (0)