about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-04-11 09:37:01 -0700
committerbors <bors@rust-lang.org>2013-04-11 09:37:01 -0700
commitcf34b31704257ef79cd0f9286314c10fa15b7bf9 (patch)
treecdad6841ea9999a6f5c21a2ded5fdd884678e678 /src/rustllvm/RustWrapper.cpp
parenta3c8f524b855682887c6e9c7b6ca4238e256c2b0 (diff)
parentaff558998ef98b4c80cace32538ba23ee67a4d6d (diff)
downloadrust-cf34b31704257ef79cd0f9286314c10fa15b7bf9.tar.gz
rust-cf34b31704257ef79cd0f9286314c10fa15b7bf9.zip
auto merge of #5825 : danluu/rust/rngdoc, r=erickt
This adds an example for most of the methods in Rng.

As a total newcomer to Rust, it took a while to figure out how to do basic things like use library functions, because there aren't many usage examples, and most examples that Google turns up are out of date. Something like this would have saved me a bit of time.

This might be a bit verbose. Some alternative options would be to consolidate all the examples into one section, or to only have code for the specific function call inline.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions