# std.MultiArrayList: check size of element, not pointer · gitcafe/zig

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

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

Visibility: public

Requested revision: b802a67562cc912213ebfc6ef8a380c775c999fe

Requested commit: b802a67562cc912213ebfc6ef8a380c775c999fe

Commit: b802a67562cc912213ebfc6ef8a380c775c999fe

Tree: e08cd738c97b67c440904dfb141076c6ad334159

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.MultiArrayList: check size of element, not pointer

Ever since a semi-recent language specification update, pointers to
zero-sized types still have runtime bits.

```

## Parents

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

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