style: Convert FnvHash{Set,Map} instances to FxHash{Set,Map}.

Bug: 1477628
Reviewed-by: heycam
This commit is contained in:
Nicholas Nethercote 2018-07-27 16:49:04 +10:00 committed by Emilio Cobos Álvarez
parent 0cab212052
commit fc9df0bcf3
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
18 changed files with 49 additions and 44 deletions

View file

@ -1146,13 +1146,13 @@ impl StrongRuleNode {
unsafe fn assert_free_list_has_no_duplicates_or_null(&self) {
assert!(cfg!(debug_assertions), "This is an expensive check!");
use hash::FnvHashSet;
use hash::FxHashSet;
let me = &*self.ptr();
assert!(me.is_root());
let mut current = self.ptr();
let mut seen = FnvHashSet::default();
let mut seen = FxHashSet::default();
while current != FREE_LIST_SENTINEL {
let next = (*current).next_free.load(Ordering::Relaxed);
assert!(!next.is_null());