Krolyxon
Commit 24133e0

Branches

Refs →

budctlclippy.toml

10 lines · 466 B · TOML

1# Tests may unwrap and index; production code may not (see [workspace.lints] in Cargo.toml).
2allow-unwrap-in-tests = true
3allow-expect-in-tests = true
4allow-panic-in-tests = true
5allow-indexing-slicing-in-tests = true
6
7disallowed-methods = [
8 { path = "std::thread::sleep", reason = "wait with Link::pump_until, so the buds' requests are still answered" },
9 { path = "std::process::exit", reason = "return an error and let main turn it into an exit code" },
10]