Use FnvHasher for unordered maps and sets (#708)

This commit is contained in:
Charlie Marsh 2022-11-12 16:09:34 -05:00 committed by GitHub
parent aa7681f9ad
commit 8cfc0e5cf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 42 additions and 45 deletions

View file

@ -43,7 +43,7 @@ where
match &expr.node {
ExprKind::Call { func, args, .. } => {
if !is_mutable_func(func)
&& !is_immutable_func(func, &self.extend_immutable_calls)
&& !is_immutable_func(func, self.extend_immutable_calls)
&& !is_nan_or_infinity(func, args)
{
self.checks.push((