aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJustin Whear <justin.whear+github@gmail.com>2021-08-19 12:18:23 -0700
committerGitHub <noreply@github.com>2021-08-19 22:18:23 +0300
commit62fe4a0ba8a08b9477e772841d3ae128937f0752 (patch)
tree763f892c896ceac7e45e6ba3408ccede4116a0e2 /src
parent7e7d67d8eed45bcf3908edd2f4ca864144fffad5 (diff)
downloadzig-62fe4a0ba8a08b9477e772841d3ae128937f0752.tar.gz
zig-62fe4a0ba8a08b9477e772841d3ae128937f0752.zip
std.rand.Random: add enumValue() (#9583)
* add Random.enumValue() * edits suggested by review * applied zig fmt * Rewrite to use std.enums.values Implemented pfgithub's suggestion to rewrite against this function, greatly simplifying the implementation. Co-authored-by: Justin Whear <justin@economicmodeling.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions