Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Aug 8, 2024
1 parent 1a9677a commit de01bf7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/compaction/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ fn merge_segments(
#[cfg(feature = "bloom")]
let bloom_ptr = trailer.offsets.bloom_ptr;

// NOTE: Need to allow because of false positive in Clippy
// because of "bloom" feature
#[allow(clippy::needless_borrows_for_generic_args)]
let block_index = Arc::new(BlockIndex::from_file(
&segment_file_path,
tli_ptr,
Expand Down

0 comments on commit de01bf7

Please sign in to comment.