diff options
Diffstat (limited to 'lib/std/packed_int_array.zig')
| -rw-r--r-- | lib/std/packed_int_array.zig | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/std/packed_int_array.zig b/lib/std/packed_int_array.zig index d76df4d04e..02c721e7cf 100644 --- a/lib/std/packed_int_array.zig +++ b/lib/std/packed_int_array.zig @@ -214,10 +214,6 @@ pub fn PackedIntArrayEndian(comptime Int: type, comptime endian: Endian, comptim /// or, more likely, an array literal. pub fn init(ints: [int_count]Int) Self { var self: Self = undefined; - if (@inComptime()) { - // TODO: #19634 - @memset(&self.bytes, 0xAA); - } for (ints, 0..) |int, i| self.set(i, int); return self; } @@ -225,10 +221,6 @@ pub fn PackedIntArrayEndian(comptime Int: type, comptime endian: Endian, comptim /// Initialize all entries of a packed array to the same value. pub fn initAllTo(int: Int) Self { var self: Self = undefined; - if (@inComptime()) { - // TODO: #19634 - @memset(&self.bytes, 0xAA); - } self.setAll(int); return self; } |
