Skip to content
This repository has been archived by the owner on Aug 4, 2024. It is now read-only.

Commit

Permalink
code fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
KKould committed Dec 9, 2023
1 parent e4479c1 commit 08adf0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kernel/utils/bloom_filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ impl BitVector {
}

pub fn get_bit(&self, index: usize) -> bool {
self.bit_groups[index / 8] >> index % 8 & 1 != 0
self.bit_groups[index / 8] >> (index % 8) & 1 != 0
}

pub fn len(&self) -> usize {
Expand Down

0 comments on commit 08adf0b

Please sign in to comment.