# add runtime safety for \`@intToEnum\`; add docs for runtime safety · gitcafe/zig

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

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

Visibility: public

Requested revision: 35463526cceb91243410bdab4d74e2d5b3c60f66

Requested commit: 35463526cceb91243410bdab4d74e2d5b3c60f66

Commit: 35463526cceb91243410bdab4d74e2d5b3c60f66

Tree: 98824c6dcd3f1fba0a45b84666815c8a9ee41207

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add runtime safety for `@intToEnum`; add docs for runtime safety

See #367

```

## Parents

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

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