Add "edition" and other options in rustfmt.toml
This commit is contained in:
parent
bd998ab880
commit
aad542fd3e
|
|
@ -1,6 +1,9 @@
|
||||||
|
edition = "2021"
|
||||||
hard_tabs = false
|
hard_tabs = false
|
||||||
tab_spaces = 4
|
tab_spaces = 4
|
||||||
reorder_imports = true
|
reorder_imports = true
|
||||||
newline_style = "Unix"
|
newline_style = "Unix"
|
||||||
fn_call_width = 80
|
fn_call_width = 80
|
||||||
fn_params_layout = "Compressed"
|
fn_params_layout = "Compressed"
|
||||||
|
imports_granularity = "Crate"
|
||||||
|
format_code_in_doc_comments = true
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue