Add initial rustfmt configuration file
This commit is contained in:
parent
d0f6e844e0
commit
611fe6fcfd
1 changed files with 14 additions and 0 deletions
14
.rustfmt.toml
Normal file
14
.rustfmt.toml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
blank_lines_lower_bound = 1
|
||||||
|
edition = "2018"
|
||||||
|
hard_tabs = true
|
||||||
|
indent_style = "Block"
|
||||||
|
match_arm_blocks = true
|
||||||
|
merge_derives = true
|
||||||
|
merge_imports = true
|
||||||
|
reorder_impl_items = true
|
||||||
|
reorder_imports = true
|
||||||
|
reorder_modules = true
|
||||||
|
use_field_init_shorthand = true
|
||||||
|
use_small_heuristics = "Off"
|
||||||
|
wrap_comments = true
|
||||||
|
closure_block_indent_threshold = 1
|
Loading…
Reference in a new issue