Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-event/src/runtime.rs')
-rw-r--r--helix-event/src/runtime.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/helix-event/src/runtime.rs b/helix-event/src/runtime.rs
index 02d66fb6..8da465ef 100644
--- a/helix-event/src/runtime.rs
+++ b/helix-event/src/runtime.rs
@@ -41,9 +41,8 @@ macro_rules! runtime_local {
#[cfg(feature = "integration_test")]
pub struct RuntimeLocal<T: 'static> {
- data: parking_lot::RwLock<
- hashbrown::HashMap<tokio::runtime::Id, &'static T, foldhash::fast::FixedState>,
- >,
+ data:
+ parking_lot::RwLock<hashbrown::HashMap<tokio::runtime::Id, &'static T, ahash::RandomState>>,
init: fn() -> T,
}
@@ -54,7 +53,7 @@ impl<T> RuntimeLocal<T> {
pub const fn __new(init: fn() -> T) -> Self {
Self {
data: parking_lot::RwLock::new(hashbrown::HashMap::with_hasher(
- foldhash::fast::FixedState::with_seed(12345678910),
+ ahash::RandomState::with_seeds(423, 9978, 38322, 3280080),
)),
init,
}