Skip to content

Commit

Permalink
Style(Rustfmt): Add config file to further restrict imports and comments
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mabileau <paulmabileau@hotmail.fr>
  • Loading branch information
PaulDance committed Feb 18, 2024
1 parent c433f3c commit 517f394
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
unstable_features = true

# Imports.
imports_granularity = "Module"
group_imports = "StdExternalCrate"

# Comments.
wrap_comments = true
normalize_comments = true
normalize_doc_attributes = true
format_code_in_doc_comments = true
doc_comment_code_block_width = 80

0 comments on commit 517f394

Please sign in to comment.