0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib/std/rand.zig
InKryption 1f0e9e4e11
rand: add enumValueWithIndex
and reimplement enumValue in terms of it. Same rationale as shuffleWithIndex. Share small piece of code through MinArrayIndex.
2022-11-07 02:46:19 +01:00

471 lines
20 KiB