# Merge pull request \#23220 from samy-00007/bytesAsSlice-fix · gitcafe/zig

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

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

Visibility: public

Requested revision: 7d8a556ba92474d78b465b30c8d5df64e9775d93

Requested commit: 7d8a556ba92474d78b465b30c8d5df64e9775d93

Commit: 7d8a556ba92474d78b465b30c8d5df64e9775d93

Tree: 497f7266c1a24ed35df05cd3ac7f327228d59aef

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
Merge pull request #23220 from samy-00007/bytesAsSlice-fix

Minor fix for `Allocator.remap` and `mem.bytesAsSlice` for zero-sized types
```

## Parents

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

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