1
0
Fork 0
mirror of https://github.com/notohh/rustlings.git synced 2024-12-19 07:08:09 -05:00
rustlings/clippy.toml

13 lines
382 B
TOML

disallowed-types = [
# Inefficient. Use `.queue(…)` instead.
"crossterm::style::Stylize",
"crossterm::style::styled_content::StyledContent",
]
disallowed-methods = [
# We use `ahash` instead of the default hasher.
"std::collections::HashSet::new",
"std::collections::HashSet::with_capacity",
# Inefficient. Use `.queue(…)` instead.
"crossterm::style::style",
]