Skip to content

Commit

Permalink
Merge pull request #44 from waywardmonkeys/fix-semicolon_if_nothing_r…
Browse files Browse the repository at this point in the history
…eturned-lint

Fix `clippy::semicolon_if_nothing_returned` lint
  • Loading branch information
pczarn authored Jul 6, 2024
2 parents b06897c + 6d4ea8f commit 77d5a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ impl<B: BitBlock> BitSet<B> {
// Ensure we have enough space to hold the new element
let len = self.bit_vec.len();
if value >= len {
self.bit_vec.grow(value - len + 1, false)
self.bit_vec.grow(value - len + 1, false);
}

self.bit_vec.set(value, true);
Expand Down

0 comments on commit 77d5a10

Please sign in to comment.