mozilla/rust — pull request #7101 by huonw (2013-06-13 13:45:06+00:00)
Title: syntax: correct the Rand::rand call to select enum variants in #[deriving(Rand)].

Previously, this was not a global call, and so when `#[deriving(Rand)]`
was in any module other than the top-level one, it failed (unless there
was a `use std;` in scope).

Also, fix a minor inconsistency between uints and u32s for this piece
of code.