From 804cf2b25c652e1a97366883fd4fdf87a5e12863 Mon Sep 17 00:00:00 2001 From: Acrimon Date: Thu, 30 Jan 2020 17:09:55 +0100 Subject: [PATCH] Fixed error. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 1fc0e937..64080bc7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -77,7 +77,7 @@ impl Clone for DashMap { impl Default for DashMap where K: Eq + Hash, - S: Default, + S: Default + BuildHasher + Clone, { fn default() -> Self { Self::with_hasher(Default::default())