This website requires JavaScript.
Explore
Help
Sign In
motiejus
/
zig
Watch
1
Fork
0
You've already forked zig
Code
Releases
Activity
Files
011663eea590dddff79b73c72bfeda5dd7f947cc
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