# byteSwapAllFieldsAligned: use std.mem.Alignment API \(\#30724\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/52e0f7870695f11eea7700df9a5c07025dc7d5a2)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 52e0f7870695f11eea7700df9a5c07025dc7d5a2

Requested commit: 52e0f7870695f11eea7700df9a5c07025dc7d5a2

Commit: 52e0f7870695f11eea7700df9a5c07025dc7d5a2

Tree: d4dc0afea6e9682a700b88ee7399763a1dafc2a7

Author: Steven Casper

Committer: Andrew Kelley

## Message

```
byteSwapAllFieldsAligned: use std.mem.Alignment API (#30724)

Following up on #30571

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/30724
Reviewed-by: Andrew Kelley <andrew@ziglang.org>
Co-authored-by: Steven Casper <sebastiancasper3@gmail.com>
Co-committed-by: Steven Casper <sebastiancasper3@gmail.com>

```

## Parents

- [335c0fcba1bad1b3b391cdbf8b3b037267a6fee7](https://git.cafe/gitcafe/zig/commit/335c0fcba1bad1b3b391cdbf8b3b037267a6fee7?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/52e0f7870695f11eea7700df9a5c07025dc7d5a2?format=markdown)
