-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Description
In rust-lang/rust#59316 internal lints were implemented. Let's also activate those in Clippy.
This includes removing the internal lint
rust-clippy/clippy_lints/src/utils/internal_lints.rs
Lines 59 to 68 in fbb3a47
| declare_clippy_lint! { | |
| /// **What it does:** Checks for the presence of the default hash types "HashMap" or "HashSet" | |
| /// and recommends the FxHash* variants. | |
| /// | |
| /// **Why is this bad?** The FxHash variants have better performance | |
| /// and we don't need any collision prevention in clippy. | |
| pub DEFAULT_HASH_TYPES, | |
| internal, | |
| "forbid HashMap and HashSet and suggest the FxHash* variants" | |
| } |
from Clippy, since it got uplifted.
phansch and felix91gr
Metadata
Metadata
Assignees
Labels
No labels