Skip to content

Commit

Permalink
feat(fmt): add rustfmt.toml in project
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenRuiwei committed Mar 24, 2024
1 parent b9dbc9a commit d9fd21c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
max_width = 100
normalize_comments = true
wrap_comments = true

condense_wildcard_suffixes = true
format_macro_matchers = true
use_try_shorthand = true
use_field_init_shorthand = true

group_imports = "StdExternalCrate"
imports_granularity = "Crate"
reorder_imports = true
reorder_modules = true

0 comments on commit d9fd21c

Please sign in to comment.