std.rand: make weightedIndex proportions param a const slice

The function does not mutate the proportions and the signature should reflect that.
e6be6d9768Veikka Tuominen committed on 8/30/2022, 10:02:17 AMparent527055a
2 files changedLine totals unavailable