# std.mem.alignForwardGeneric: manually inline the assertions · gitcafe/zig

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

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

Visibility: public

Requested revision: 75cf06c187d9d0288c2ea31f34b18c3a7da4bd1d

Requested commit: 75cf06c187d9d0288c2ea31f34b18c3a7da4bd1d

Commit: 75cf06c187d9d0288c2ea31f34b18c3a7da4bd1d

Tree: cc92e5708c46b8d9047d6ec52d32229b59b44f72

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.mem.alignForwardGeneric: manually inline the assertions

This matches more directly the documentation comments, and makes it more
obvious what went wrong when an assertion fails.

```

## Parents

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

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