mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-25 15:10:26 +00:00
18 lines
558 B
TOML
18 lines
558 B
TOML
disallowed-types = [
|
|
# Inefficient. Use `.queue(…)` instead.
|
|
"crossterm::style::Stylize",
|
|
"crossterm::style::styled_content::StyledContent",
|
|
]
|
|
|
|
disallowed-methods = [
|
|
# We use `foldhash` instead of the default hasher.
|
|
"std::collections::HashSet::new",
|
|
"std::collections::HashSet::with_capacity",
|
|
# 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",
|
|
]
|