返回 last30days-skill
clippy.toml
根目录 / rust / clippy.toml
1 # BeautifulRust clippy configuration (from https://github.com/morganlinton/BeautifulRust).
2 # Flag any function with a bool parameter, not just functions with four or more.
3 max-fn-params-bools = 0
4
5 # Allow unwrap, expect, and printing in tests, where a panic is the assertion.
6 allow-unwrap-in-tests = true
7 allow-expect-in-tests = true
8 allow-print-in-tests = true
9
9 lines TOML