rust/library/std
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
..
benches Fix import in bench for wasm 2025-02-12 14:44:30 -08:00
src random: Provide a Distribution<T> trait 2025-07-11 10:21:34 -07:00
tests Auto merge of #141829 - dvdsk:sleep_until_linux, r=cuviper,RalfJung 2025-07-06 23:00:51 +00:00
build.rs Use feature(target_has_reliable_f16_f128) in library tests 2025-04-27 20:10:33 +00:00
Cargo.toml Update cfg(bootstrap) 2025-07-01 10:55:49 -07:00