mozilla/rust — pull request #13115 by huonw (2014-03-24 13:46:56+00:00)
Title: move errno -> IoError converter into std, bubble up OSRng errors

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).