Skip to content

Commit

Permalink
Add rustfmt.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Oct 5, 2023
1 parent 6016101 commit d548774
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
disable_all_formatting = true
hard_tabs = true # use tab characters for indentation, spaces for alignment
use_field_init_shorthand = true
chain_width = 100
max_width = 100
use_small_heuristics = "Max"
fn_params_layout = "Compressed"
fn_single_line = true
match_arm_blocks = false
match_block_trailing_comma = true
overflow_delimited_expr = true
format_strings = true

0 comments on commit d548774

Please sign in to comment.