# fix std.mem.addNullByte and implement sentinel slicing · gitcafe/zig

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

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

Visibility: public

Requested revision: 26f3c2d0614f4fb37752b1931cb0b43aed2696d2

Requested commit: 26f3c2d0614f4fb37752b1931cb0b43aed2696d2

Commit: 26f3c2d0614f4fb37752b1931cb0b43aed2696d2

Tree: 18e51d6ed267ded8c6d87b5158c8866dcf1a2bf6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix std.mem.addNullByte and implement sentinel slicing

see #3770

```

## Parents

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

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