diff options
| author | Justin Whear <justin.whear+github@gmail.com> | 2021-08-19 12:18:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-19 22:18:23 +0300 |
| commit | 62fe4a0ba8a08b9477e772841d3ae128937f0752 (patch) | |
| tree | 763f892c896ceac7e45e6ba3408ccede4116a0e2 /src/stage1 | |
| parent | 7e7d67d8eed45bcf3908edd2f4ca864144fffad5 (diff) | |
| download | zig-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/stage1')
0 files changed, 0 insertions, 0 deletions
