Skip to content

Commit

Permalink
Add .rustfmt.toml file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Edu4rdSHL committed Oct 17, 2023
1 parent cd2dc1a commit 513ce14
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 @@
# How imports should be grouped into use statements. Imports will be merged or split to the configured level of granularity.
imports_granularity = "One"
# Unix or Windows line endings
newline_style = "Unix"
# Convert /* */ comments to // comments where possible
normalize_comments = true
# Convert #![doc] and #[doc] attributes to //! and /// doc comments.
normalize_doc_attributes = true
# Remove nested parens.
remove_nested_parens = true
# Reorder impl items. type and const are put first, then macros and methods.
reorder_impl_items = true

0 comments on commit 513ce14

Please sign in to comment.