fix: replace fxhash with rustc-hash
This commit is contained in:
1 parent
1b7fe3fcde
commit
6166d4eb73
5 files changed
+6
-6
No files matched your search
@@ -11,7 +11,7 @@ use crate::{
|
||||
AttributeValue, TemplateNode,
|
||||
};
|
||||
|
||||
use fxhash::{FxHashMap, FxHashSet};
|
||||
use rustc_hash::{FxHashMap, FxHashSet};
|
||||
use DynamicNode::*;
|
||||
|
||||
impl<'b> VirtualDom {
|
||||
@@ -434,7 +434,7 @@ impl<'b> VirtualDom {
|
||||
// The stack is empty upon entry.
|
||||
fn diff_keyed_children(&mut self, old: &'b [VNode<'b>], new: &'b [VNode<'b>]) {
|
||||
if cfg!(debug_assertions) {
|
||||
let mut keys = fxhash::FxHashSet::default();
|
||||
let mut keys = rustc_hash::FxHashSet::default();
|
||||
let mut assert_unique_keys = |children: &'b [VNode<'b>]| {
|
||||
keys.clear();
|
||||
for child in children {
|
||||
|
||||
Reference in new issue
Block a user