Files
rust/library/std
Jacob Pratt 5096c1d0f8 Rollup merge of #157539 - joshtriplett:random-source-rename, r=jhpratt
Rename `RandomSource` -> `Rng`, `DefaultRandomSource` -> `SystemRng`

Per naming bikeshed in libs-api. `Rng` is shorter, and already established in the ecosystem. `System` makes it self-documenting that `SystemRng` gets its randomness from the system RNG.

This also makes it short and convenient to write `SystemRng.fill_bytes`, rather than `DefaultRandomSource.fill_bytes`.
2026-06-16 22:10:32 -04:00
..
2026-06-05 16:06:41 +02:00
…