diff options
| author | David Rubin <daviru007@icloud.com> | 2025-02-24 04:02:06 -0800 |
|---|---|---|
| committer | David Rubin <david@vortan.dev> | 2025-08-01 14:57:16 -0700 |
| commit | d6c74a95fdaba4ed373f80baa725dcc53b27e402 (patch) | |
| tree | e6827e6fa40ed25f5c6cee6eab0edace8a62c190 /lib/std/meta.zig | |
| parent | 17330867eb8f9e24ec8aadf23592e36f90f9dcb3 (diff) | |
| download | zig-d6c74a95fdaba4ed373f80baa725dcc53b27e402.tar.gz zig-d6c74a95fdaba4ed373f80baa725dcc53b27e402.zip | |
remove usages of `.alignment = 0`
Diffstat (limited to 'lib/std/meta.zig')
| -rw-r--r-- | lib/std/meta.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/meta.zig b/lib/std/meta.zig index 0cee23cfa8..65b7d60c18 100644 --- a/lib/std/meta.zig +++ b/lib/std/meta.zig @@ -939,7 +939,7 @@ fn CreateUniqueTuple(comptime N: comptime_int, comptime types: [N]type) type { .type = T, .default_value_ptr = null, .is_comptime = false, - .alignment = 0, + .alignment = @alignOf(T), }; } |
