Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrasiuk committed May 9, 2024
1 parent ae2c463 commit 7a0d5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ impl TrieMask {

/// Set bit at a specified index.
pub fn set_bit(&mut self, index: u8) {
self.0 = self.0 | (1u16 << index);
self.0 |= 1u16 << index;
}
}

0 comments on commit 7a0d5a6

Please sign in to comment.