mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 14:26:04 +00:00
fix another panic in bitset
This commit is contained in:
parent
1fc42d7566
commit
8b3fe0b241
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ impl BitSet {
|
||||||
return from_index;
|
return from_index;
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut word = !self.data[u] & (u64::MAX << from_index);
|
let mut word = !self.data[u] & (u64::MAX.wrapping_shl(from_index));
|
||||||
|
|
||||||
loop {
|
loop {
|
||||||
if word != 0 {
|
if word != 0 {
|
||||||
|
|
Loading…
Add table
Reference in a new issue