Skip to content

Commit

Permalink
add: rustfmt file
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnevadoc committed Dec 3, 2024
1 parent 54ed9c9 commit 801d6f7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# It's the default. But here for visibility.
comment_width = 80
# Makes code docs & examples easier to write.
format_code_in_doc_comments = true
# Group imports by crate.
imports_granularity = "Crate"
# This is a standard almost
wrap_comments = true
# Rustlang core team is migrating to this
group_imports = "StdExternalCrate"

0 comments on commit 801d6f7

Please sign in to comment.