If-else in single line

This commit is contained in:
Tomusdrw 2016-02-16 10:21:46 +01:00
parent dc6790915e
commit f0ef6ed016
1 changed files with 14 additions and 0 deletions

14
rustfmt.toml Normal file
View File

@ -0,0 +1,14 @@
verbose=false
max_width=150
ideal_width=120
tabs_spaces=4
fn_call_width=100
single_line_if_else=true
where_indent="Visual"
where_trailing_comma=true
chain_base_indent="Inherit"
chain_indent="Tabbed"
reorder_imports=true
format_strings=false
hard_tabs=true
wrap_match_arms=false