fix warnings

Signed-off-by: Alex Chi <iskyzh@gmail.com>
This commit is contained in:
Alex Chi
2024-01-20 11:14:19 +08:00
parent 9fd30f6aa8
commit b1458a66b2
10 changed files with 62 additions and 56 deletions

12
rustfmt.toml.nightly Normal file
View File

@@ -0,0 +1,12 @@
comment_width = 120
format_code_in_doc_comments = true
format_macro_bodies = true
format_macro_matchers = true
normalize_comments = true
normalize_doc_attributes = true
imports_granularity = "Module"
group_imports = "StdExternalCrate"
reorder_impl_items = true
reorder_imports = true
tab_spaces = 4
wrap_comments = true