Skip to content

Commit

Permalink
don't use unstable feature on rustfmt yet
Browse files Browse the repository at this point in the history
  • Loading branch information
theomonnom committed Feb 28, 2024
1 parent a52f239 commit 32bb932
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
comment_width = 100
doc_comment_code_block_width = 100
format_code_in_doc_comments = true
group_imports = "StdExternalCrate"
imports_granularity = "Crate"
# Uncomment these when they become stabilized by Rust
#comment_width = 100
#doc_comment_code_block_width = 100
#format_code_in_doc_comments = true
#group_imports = "StdExternalCrate"
#imports_granularity = "Crate"
#wrap_comments = true

max_width = 100
use_small_heuristics = "Max"
wrap_comments = true
# Workaround for https://github.com/rust-lang/rust.vim/issues/464
edition = "2021"

0 comments on commit 32bb932

Please sign in to comment.