1 use arbitrary::{Arbitrary, Unstructured};
2 use core::hash::BuildHasher;
3 
4 impl<'a, K, V, S> Arbitrary<'a> for crate::DashMap<K, V, S>
5 where
6     K: Eq + std::hash::Hash + Arbitrary<'a>,
7     V: Arbitrary<'a>,
8     S: Default + BuildHasher + Clone,
9 {
arbitrary(u: &mut Unstructured<'a>) -> arbitrary::Result<Self>10     fn arbitrary(u: &mut Unstructured<'a>) -> arbitrary::Result<Self> {
11         u.arbitrary_iter()?.collect()
12     }
13 }
14