| ... | ... | @@ -50,7 +50,7 @@ pub fn StaticBitSet(comptime size: usize) type { |
| 50 | 50 | /// This set is good for sets with a small size, but may generate |
| 51 | 51 | /// inefficient code for larger sets, especially in debug mode. |
| 52 | 52 | pub fn IntegerBitSet(comptime size: u16) type { |
| 53 | | return struct { |
| 53 | return packed struct { |
| 54 | 54 | const Self = @This(); |
| 55 | 55 | |
| 56 | 56 | // TODO: Make this a comptime field once those are fixed |
| ... | ... | @@ -287,7 +287,7 @@ pub fn ArrayBitSet(comptime MaskIntType: type, comptime size: usize) type { |
| 287 | 287 | ", which contains padding bits. Please round this up to an unpadded integer size (i.e. " ++ @typeName(FixedMaskType) ++ ")."); |
| 288 | 288 | } |
| 289 | 289 | |
| 290 | | return struct { |
| 290 | return extern struct { |
| 291 | 291 | const Self = @This(); |
| 292 | 292 | |
| 293 | 293 | // TODO: Make this a comptime field once those are fixed |