mirror of
https://github.com/rust-lang/rustlings
synced 2024-11-10 06:34:20 +00:00
15 lines
423 B
TOML
15 lines
423 B
TOML
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",
|
|
]
|