mozilla/rust — pull request #5987 by huonw (2013-04-21 12:25:31+00:00)
Title: libcore: make rand::random return a generic value implementing `Rand`.

With this patch `rand::random` can be used to generate anything that implements `Rand`.