mirror of
https://github.com/MrBeanCpp/MIT.git
synced 2026-03-23 05:20:48 +08:00
mv rustfmt.toml
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
# 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