diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-13 23:16:30 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-06-14 11:12:06 +1000 |
| commit | f93a974558bf09bee475427158150ba6e008cdd8 (patch) | |
| tree | b33c58f8819e4a85af750404e40b453aac5f2b3e /src/rt/rust_task.cpp | |
| parent | b417bc8511a0a38e73312cee8086ed04eeb21b75 (diff) | |
| download | rust-f93a974558bf09bee475427158150ba6e008cdd8.tar.gz rust-f93a974558bf09bee475427158150ba6e008cdd8.zip | |
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.
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions
