# InternPool: make more use of \`NullTerminatedString.Slice\` · gitcafe/zig

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

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

Visibility: public

Requested revision: 6f08e172299320a3b243998878b38b0b3f43d8d5

Requested commit: 6f08e172299320a3b243998878b38b0b3f43d8d5

Commit: 6f08e172299320a3b243998878b38b0b3f43d8d5

Tree: 22ca949d513aa57651081ce831875e322666eb2a

Author: Jacob Young

Committer: Andrew Kelley

## Message

```
InternPool: make more use of `NullTerminatedString.Slice`

This should avoid the random pointer invalidation crashes.

Closes #18954

```

## Parents

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

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