# Allocator.create: properly handle alignment for zero-sized types \(\#21864\) · gitcafe/zig

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

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

Visibility: public

Requested revision: b4b1daf0012c3007b762df31028fa35f5f68bd09

Requested commit: b4b1daf0012c3007b762df31028fa35f5f68bd09

Commit: b4b1daf0012c3007b762df31028fa35f5f68bd09

Tree: 538226cddaca2ec6f7be5414f31133af4613ed1c

Author: Kendall Condon

Committer: GitHub

## Message

```
Allocator.create: properly handle alignment for zero-sized types (#21864)


```

## Parents

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

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