mirror of
https://github.com/MrBeanCpp/MIT.git
synced 2026-04-26 19:59:46 +08:00
mv rustfmt.toml
This commit is contained in:
18
rustfmt.toml
Normal file
18
rustfmt.toml
Normal file
@@ -0,0 +1,18 @@
|
||||
# Run rustfmt with this config (it should be picked up automatically).
|
||||
version = "Two"
|
||||
use_small_heuristics = "Max"
|
||||
max_width = 120
|
||||
struct_lit_width = 60
|
||||
chain_width = 60
|
||||
single_line_if_else_max_width = 60
|
||||
single_line_let_else_max_width = 60
|
||||
|
||||
merge_derives = true
|
||||
reorder_imports = true
|
||||
# 格式化注释代码块:Unstable
|
||||
format_code_in_doc_comments = true
|
||||
|
||||
|
||||
# 彩色输出:Unstable
|
||||
color = "Auto"
|
||||
ignore = ["tests"]
|
||||
Reference in New Issue
Block a user