mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 15:56:09 +03:00
b71c02e512
move errno -> IoError converter into std, bubble up OSRng errors Also adds a general errno -> `~str` converter to `std::os`, and makes the failure messages for the things using `OSRng` (e.g. (transitively) the task-local RNG, meaning hashmap initialisation failures aren't such a black box).