# std.mem.sliceAsBytes: support arrays of zero-bit types · gitcafe/zig

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

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

Visibility: public

Requested revision: 151c06cce40f33649fa96937d53926a7769491b9

Requested commit: 151c06cce40f33649fa96937d53926a7769491b9

Commit: 151c06cce40f33649fa96937d53926a7769491b9

Tree: 3d4ff833e135bebaebffdc1d4d687d9ba88fbeed

Author: Jacob Young

Committer: Jacob Young

## Message

```
std.mem.sliceAsBytes: support arrays of zero-bit types

This makes `std.ArrayListUnmanaged(void)` usable.

```

## Parents

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

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