diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-04-11 17:55:25 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-04-13 02:20:32 -0400 |
| commit | f32a5d349d2c359a2a1f627aa70e1a7a6f6330ea (patch) | |
| tree | 05a0fe7de04e6aa91775e954f78dd1a478d7e675 /lib/std/meta | |
| parent | ec2888858102035f296c01df5aacbd255c35d06f (diff) | |
| download | zig-f32a5d349d2c359a2a1f627aa70e1a7a6f6330ea.tar.gz zig-f32a5d349d2c359a2a1f627aa70e1a7a6f6330ea.zip | |
std: eradicate u29 and embrace std.mem.Alignment
Diffstat (limited to 'lib/std/meta')
| -rw-r--r-- | lib/std/meta/trailer_flags.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/meta/trailer_flags.zig b/lib/std/meta/trailer_flags.zig index 186dd2be14..ddf3790c19 100644 --- a/lib/std/meta/trailer_flags.zig +++ b/lib/std/meta/trailer_flags.zig @@ -144,7 +144,7 @@ test TrailerFlags { .b = true, .c = true, }); - const slice = try testing.allocator.alignedAlloc(u8, 8, flags.sizeInBytes()); + const slice = try testing.allocator.alignedAlloc(u8, .@"8", flags.sizeInBytes()); defer testing.allocator.free(slice); flags.set(slice.ptr, .b, false); |
