1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-22 23:24:13 +01:00
rustlings/clippy.toml
2024-10-17 15:03:43 +02:00

16 lines
423 B
INI

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",
# Return `ExitCode` instead.
"std::process::exit",
]