1 2 3 4
# clippy 配置 — 限制认知复杂度/参数数量/类型复杂度。 cognitive-complexity-threshold = 30 too-many-arguments-threshold = 7 type-complexity-threshold = 250