From 3f338ff5456d4e01d76291c0a9448e5d541de4bb Mon Sep 17 00:00:00 2001 From: Dzejkop Date: Wed, 10 Apr 2024 18:20:48 +0200 Subject: [PATCH] Inference works here --- benches/cascading_merkle_tree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/cascading_merkle_tree.rs b/benches/cascading_merkle_tree.rs index 83a8ad5..5427dbd 100644 --- a/benches/cascading_merkle_tree.rs +++ b/benches/cascading_merkle_tree.rs @@ -123,7 +123,7 @@ fn bench_cascading_create_dense_mmap_tree(criterion: &mut Criterion) { value, |bencher: &mut criterion::Bencher, value| { bencher.iter(|| { - let storage: MmapVec<::Hash> = + let storage: MmapVec<_> = unsafe { MmapVec::open_create("./testfile").unwrap() }; let _tree: CascadingMerkleTree = CascadingMerkleTree::from_storage_with_leaves(