Add "edition" and other options in rustfmt.toml

This commit is contained in:
aeon 2024-04-08 01:35:47 +08:00 committed by Martin Dahl
parent bd998ab880
commit aad542fd3e
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
edition = "2021"
hard_tabs = false
tab_spaces = 4
reorder_imports = true
newline_style = "Unix"
fn_call_width = 80
fn_params_layout = "Compressed"
imports_granularity = "Crate"
format_code_in_doc_comments = true