Static rustc_lint::internal::DEFAULT_HASH_TYPES
source · pub static DEFAULT_HASH_TYPES: &LintExpand description
The default_hash_type lint detects use of std::collections::HashMap/std::collections::HashSet,
suggesting the use of FxHashMap/FxHashSet.
This can help as FxHasher can perform better than the default hasher. DOS protection is not
required as input is assumed to be trusted.