GitCafe
Docs
Sign in
gitcafe
/
zig
Code
Issues
Pulls
CI
Stacks
Search
Branches
Tags
Code
Issues
Pulls
CI
Stacks
Search
Branches
Tags
More
Star
0
Code
std.rand: make weightedIndex proportions param a const slice
The function does not mutate the proportions and the signature should reflect that.
e6be6d9768
Veikka Tuominen committed on 8/30/2022, 10:02:17 AM
parent
527055a
Files Changed
2 files changed
Line totals unavailable
Ignore whitespace
Unified
Split
lib/std
lib/std
…
rand
rand
…
test.zig
test.zig
…
rand.zig
rand.zig
…