# Allocator/Random: document that comparing \`ptr\` may result in illegal behavior · gitcafe/zig

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

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

Visibility: public

Requested revision: 4041cc06d5a0327c6d6d7e0bdec8516df06cb5ba

Requested commit: 4041cc06d5a0327c6d6d7e0bdec8516df06cb5ba

Commit: 4041cc06d5a0327c6d6d7e0bdec8516df06cb5ba

Tree: e8a804a5805f41ffb4ffc93098ce06144b88e3f6

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
Allocator/Random: document that comparing `ptr` may result in illegal behavior

See #21756 and #17704

```

## Parents

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

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