| ... | @@ -220,7 +220,7 @@ pub fn IntegerBitSet(comptime size: u16) type { | ... | @@ -220,7 +220,7 @@ pub fn IntegerBitSet(comptime size: u16) type { |
| 220 | | 220 | |
| 221 | /// Returns the union of two bit sets. Bits in the | 221 | /// Returns the union of two bit sets. Bits in the |
| 222 | /// result are set if the corresponding bits were set | 222 | /// result are set if the corresponding bits were set |
| 223 | /// in both inputs. | 223 | /// in either input. |
| 224 | pub fn unionWith(self: Self, other: Self) Self { | 224 | pub fn unionWith(self: Self, other: Self) Self { |
| 225 | var result = self; | 225 | var result = self; |
| 226 | result.setUnion(other); | 226 | result.setUnion(other); |
| ... | @@ -238,7 +238,7 @@ pub fn IntegerBitSet(comptime size: u16) type { | ... | @@ -238,7 +238,7 @@ pub fn IntegerBitSet(comptime size: u16) type { |
| 238 | | 238 | |
| 239 | /// Returns the xor of two bit sets. Bits in the | 239 | /// Returns the xor of two bit sets. Bits in the |
| 240 | /// result are set if the corresponding bits were | 240 | /// result are set if the corresponding bits were |
| 241 | /// set in not the same in both inputs. | 241 | /// not the same in both inputs. |
| 242 | pub fn xorWith(self: Self, other: Self) Self { | 242 | pub fn xorWith(self: Self, other: Self) Self { |
| 243 | var result = self; | 243 | var result = self; |
| 244 | result.toggleSet(other); | 244 | result.toggleSet(other); |
| ... | @@ -586,7 +586,7 @@ pub fn ArrayBitSet(comptime MaskIntType: type, comptime size: usize) type { | ... | @@ -586,7 +586,7 @@ pub fn ArrayBitSet(comptime MaskIntType: type, comptime size: usize) type { |
| 586 | | 586 | |
| 587 | /// Returns the union of two bit sets. Bits in the | 587 | /// Returns the union of two bit sets. Bits in the |
| 588 | /// result are set if the corresponding bits were set | 588 | /// result are set if the corresponding bits were set |
| 589 | /// in both inputs. | 589 | /// in either input. |
| 590 | pub fn unionWith(self: Self, other: Self) Self { | 590 | pub fn unionWith(self: Self, other: Self) Self { |
| 591 | var result = self; | 591 | var result = self; |
| 592 | result.setUnion(other); | 592 | result.setUnion(other); |
| ... | @@ -604,7 +604,7 @@ pub fn ArrayBitSet(comptime MaskIntType: type, comptime size: usize) type { | ... | @@ -604,7 +604,7 @@ pub fn ArrayBitSet(comptime MaskIntType: type, comptime size: usize) type { |
| 604 | | 604 | |
| 605 | /// Returns the xor of two bit sets. Bits in the | 605 | /// Returns the xor of two bit sets. Bits in the |
| 606 | /// result are set if the corresponding bits were | 606 | /// result are set if the corresponding bits were |
| 607 | /// set in not the same in both inputs. | 607 | /// not the same in both inputs. |
| 608 | pub fn xorWith(self: Self, other: Self) Self { | 608 | pub fn xorWith(self: Self, other: Self) Self { |
| 609 | var result = self; | 609 | var result = self; |
| 610 | result.toggleSet(other); | 610 | result.toggleSet(other); |