about summary refs log tree commit diff
path: root/src/rt/rust_debug.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-05-07 01:30:42 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2013-05-07 01:33:54 +1000
commit5e1d6c2c8011f466d2a524231e5386df0b5ed841 (patch)
treea1f29d8aef4fbfb03cb105f759018e9063efb591 /src/rt/rust_debug.cpp
parent1cf2108a2b09942d6b225700b9d39dc9fa070463 (diff)
downloadrust-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_debug.cpp')
0 files changed, 0 insertions, 0 deletions