diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-05-07 01:30:42 +1000 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-05-07 01:33:54 +1000 |
| commit | 5e1d6c2c8011f466d2a524231e5386df0b5ed841 (patch) | |
| tree | a1f29d8aef4fbfb03cb105f759018e9063efb591 /src/rt/rust_run_program.cpp | |
| parent | 1cf2108a2b09942d6b225700b9d39dc9fa070463 (diff) | |
| download | rust-5e1d6c2c8011f466d2a524231e5386df0b5ed841.tar.gz rust-5e1d6c2c8011f466d2a524231e5386df0b5ed841.zip | |
libsyntax: add #[deriving(Rand, ToStr)].
The former fills each field of a struct or enum variant with a random
value (and picks a random enum variant). The latter makes the .to_str
method have the same output as fmt!("%?", ..).
Diffstat (limited to 'src/rt/rust_run_program.cpp')
0 files changed, 0 insertions, 0 deletions
