Skip to content

Commit

Permalink
update rustfmt config
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Dec 9, 2023
1 parent 4a8c4a7 commit 0d5724a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
use_small_heuristics = "Max"
reorder_imports = true
use_field_init_shorthand = true
use_small_heuristics = "Max"

# unstable - require nightly rustfmt
# Nightly
max_width = 100
comment_width = 100
imports_granularity = "Crate"
wrap_comments = true
comment_width = 100

# See more keys and their definitions at https://rust-lang.github.io/rustfmt
format_code_in_doc_comments = true
doc_comment_code_block_width = 100
format_macro_matchers = true

0 comments on commit 0d5724a

Please sign in to comment.