Skip to content

Commit

Permalink
chore: make clippy happy
Browse files Browse the repository at this point in the history
Signed-off-by: MrCroxx <[email protected]>
  • Loading branch information
MrCroxx committed Jul 2, 2024
1 parent 0060e87 commit 53e1061
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/storage/benches/bench_block_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl CacheBase for FoyerCache {
async move {
get_fake_block(sst_object_id, block_idx, latency)
.await
.map(|block| Arc::new(block))
.map(Arc::new)
}
})
.await?;
Expand Down Expand Up @@ -229,7 +229,7 @@ impl CacheBase for FoyerHybridCache {
async move {
get_fake_block(sst_object_id, block_idx, latency)
.await
.map(|block| Arc::new(block))
.map(block)
.map_err(anyhow::Error::from)
}
})
Expand Down

0 comments on commit 53e1061

Please sign in to comment.