summaryrefslogtreecommitdiff
path: root/clippy.toml
blob: 81e372a74728b8dadd14cc83a86a0f0cf24e5788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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",
]