rust/library/core
Josh Triplett 5e203851f7 random: Provide a Distribution<T> trait
This will let people make calls like random(1..=6), and allows for
future expansion to non-uniform distributions, as well as
floating-point.

For now, this is only implemented for `RangeFull`, to get the interface
in place. Subsequent commits will implement it for other range types.
2025-07-11 10:21:34 -07:00
..
src random: Provide a Distribution<T> trait 2025-07-11 10:21:34 -07:00
Cargo.toml Update cfg(bootstrap) 2025-07-01 10:55:49 -07:00