pub fn unset(self: *Self, index: usize) void
Removes a specific bit from the bit set
self: *Self
index: usize
491 492 493 494 495
pub fn unset(self: *Self, index: usize) void { assert(index < bit_length); if (num_masks == 0) return; // doesn't compile in this case self.masks[maskIndex(index)] &= ~maskBit(index); }
Removes a specific bit from the bit set