# std: fix \`Random.enumValueWithIndex\` of single-variant enum · gitcafe/zig

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

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

Visibility: public

Requested revision: 54d0ba418375a4665cf1b4ee876d6c750bb9c079

Requested commit: 54d0ba418375a4665cf1b4ee876d6c750bb9c079

Commit: 54d0ba418375a4665cf1b4ee876d6c750bb9c079

Tree: 558e3d7a860c9ead6335a5f8306df8fde12e71e3

Author: José M Rico

Committer: GitHub

## Message

```
std: fix `Random.enumValueWithIndex` of single-variant enum


```

## Parents

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

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