We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ChunkedBitSet
1 parent ff6dc92 commit 2611bf7Copy full SHA for 2611bf7
compiler/rustc_index/src/bit_set.rs
@@ -789,7 +789,7 @@ impl<T: Idx> BitRelations<ChunkedBitSet<T>> for ChunkedBitSet<T> {
789
790
match (&mut self_chunk, &other_chunk) {
791
(_, Zeros) | (Ones, _) => {}
792
- (Zeros, Ones) | (Mixed(..), Ones) | (Zeros, Mixed(..)) => {
+ (Zeros, _) | (Mixed(..), Ones) => {
793
// `other_chunk` fully overwrites `self_chunk`
794
*self_chunk = other_chunk.clone();
795
changed = true;
@@ -853,7 +853,7 @@ impl<T: Idx> BitRelations<ChunkedBitSet<T>> for ChunkedBitSet<T> {
853
854
855
(Zeros, _) | (_, Zeros) => {}
856
- (Ones | Mixed(_, _), Ones) => {
+ (Ones | Mixed(..), Ones) => {
857
858
*self_chunk = Zeros;
859
}
0 commit comments