From 1ee5ec1a1ccfc0abc3a5e41635abc56ef5e2ea30 Mon Sep 17 00:00:00 2001 From: Troy Benson Date: Sat, 13 Jul 2024 03:11:31 +0000 Subject: [PATCH] fix: add default bounds --- foundations/src/batcher/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foundations/src/batcher/mod.rs b/foundations/src/batcher/mod.rs index 517eb266..9ff00753 100644 --- a/foundations/src/batcher/mod.rs +++ b/foundations/src/batcher/mod.rs @@ -1,5 +1,5 @@ use std::collections::{HashMap, HashSet}; -use std::hash::BuildHasher; +use std::hash::{BuildHasher, RandomState}; use std::marker::PhantomData; use std::sync::atomic::{AtomicU64, AtomicUsize}; use std::sync::Arc; @@ -116,7 +116,7 @@ impl BatchMode for BatcherNormalMode { } } -pub struct BatcherDataloader(PhantomData); +pub struct BatcherDataloader(PhantomData); impl BatchMode for BatcherDataloader where