chore(rustfmt): change imports_granularity to "Module"
Also includes a Zed config.
This commit is contained in:
parent
673e4c949b
commit
17cf4485a9
6 changed files with 55 additions and 39 deletions
10
rustfmt.toml
Normal file
10
rustfmt.toml
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
edition = "2024"
|
||||
hard_tabs = true
|
||||
use_field_init_shorthand = true
|
||||
# Unstable formatting options below; remove if you REALLY don't wanna use `cargo +nightly fmt`
|
||||
format_code_in_doc_comments = true
|
||||
format_strings = true
|
||||
imports_granularity = "Module"
|
||||
normalize_comments = true
|
||||
reorder_impl_items = true
|
||||
wrap_comments = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue