summaryrefslogtreecommitdiff
path: root/src/bin/benchmark-indexedstore.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/benchmark-indexedstore.rs')
-rw-r--r--src/bin/benchmark-indexedstore.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/benchmark-indexedstore.rs b/src/bin/benchmark-indexedstore.rs
index 5cd3ff1..1479cb9 100644
--- a/src/bin/benchmark-indexedstore.rs
+++ b/src/bin/benchmark-indexedstore.rs
@@ -83,7 +83,7 @@ fn lookup(index: &mut IndexedStore, num: u32) -> anyhow::Result<()> {
loop {
let gen = ChunkGenerator::new(num);
for (_, _, chunk) in gen {
- index.find_by_sha256(&chunk.meta().sha256())?;
+ index.find_by_sha256(chunk.meta().sha256())?;
done += 1;
if done >= num {
return Ok(());