# Merge pull request \#3940 from ziglang/sentinel-slicing · gitcafe/zig

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

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

Visibility: public

Requested revision: bc95c63cf227226861d7fbf63fa6c779fed8abf8

Requested commit: bc95c63cf227226861d7fbf63fa6c779fed8abf8

Commit: bc95c63cf227226861d7fbf63fa6c779fed8abf8

Tree: 1e004f521047ead2fb52855da7bc4fa819020548

Author: Andrew Kelley

Committer: GitHub

## Message

```
Merge pull request #3940 from ziglang/sentinel-slicing

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

## Parents

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

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

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