rustlings/clippy.toml

16 lines
423 B
TOML
Raw Permalink Normal View History

disallowed-types = [
# Inefficient. Use `.queue(…)` instead.
"crossterm::style::Stylize",
"crossterm::style::styled_content::StyledContent",
]
disallowed-methods = [
# Inefficient. Use `.queue(…)` instead.
"crossterm::style::style",
# Use `thread::Builder::spawn` instead and handle the error.
"std::thread::spawn",
"std::thread::Scope::spawn",
2024-10-13 20:02:41 +00:00
# Return `ExitCode` instead.
"std::process::exit",
]