- create rustfmt-nightly.toml to configure Rust formatting - set import grouping and granularity preferences - define max width and doc comment formatting rules
7 lines
171 B
TOML
7 lines
171 B
TOML
group_imports = "StdExternalCrate"
|
|
imports_granularity = "Crate"
|
|
max_width = 100
|
|
format_code_in_doc_comments = true
|
|
doc_comment_code_block_width = 70
|
|
wrap_comments = true
|