# std.mem.indexOfSentinel: eliminate unnecessary \`@ptrCast\` · gitcafe/zig

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

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

Visibility: public

Requested revision: dca4c302dd323f093c53b354ad64d504ed7a2dea

Requested commit: dca4c302dd323f093c53b354ad64d504ed7a2dea

Commit: dca4c302dd323f093c53b354ad64d504ed7a2dea

Tree: 00fb4800d0d1a12f3f7c6c276697d60357f03908

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.mem.indexOfSentinel: eliminate unnecessary `@ptrCast`

it was always unnecessary but now it's illegal

```

## Parents

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

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