This website requires JavaScript.
Explore
Help
Sign In
motiejus
/
zig
Watch
1
Fork
0
You've already forked zig
Code
Releases
Activity
Files
37cfe3dfd21f17bb4e6b477674dfd918216239de
zig
/
lib
/
std
/
rand.zig
Veikka Tuominen
e6be6d9768
std.rand: make weightedIndex proportions param a const slice
...
The function does not mutate the proportions and the signature should reflect that.
2022-08-30 13:02:17 +03:00
17 KiB
Raw
Blame
History
View Raw
View Git Blame
Copy Permalink