diff --git a/agb/src/hash_map.rs b/agb/src/hash_map.rs index 30028c04..f0b0ca85 100644 --- a/agb/src/hash_map.rs +++ b/agb/src/hash_map.rs @@ -228,10 +228,13 @@ impl NodeStorage { } } -pub struct HashMap { +pub struct HashMap> +where + H: BuildHasher, +{ nodes: NodeStorage, - hasher: BuildHasherDefault, + hasher: H, } impl HashMap {