Skip to content

Commit

Permalink
Fix clippy::semicolon_if_nothing_returned lint
Browse files Browse the repository at this point in the history
  • Loading branch information
waywardmonkeys committed Jul 6, 2024
1 parent b06897c commit 6d4ea8f
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 6d4ea8f

Please sign in to comment.